Move the definition of DEVRANDOM for DJGPP from Configure to e_os.h.
authorRichard Levitte <levitte@openssl.org>
Sat, 18 Jun 2005 04:42:29 +0000 (04:42 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 18 Jun 2005 04:42:29 +0000 (04:42 +0000)
That should solve the issues with propagating it through the Makefiles.

PR: 1110

Configure
e_os.h

index bd8cae0c019ea27034510e3fd7f68eebf7a0f619..a42988f2cdf52f61d1d3f650edb77564f78652fa 100755 (executable)
--- a/Configure
+++ b/Configure
@@ -539,7 +539,7 @@ my %table=(
 "Cygwin", "gcc:-DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -march=i486 -Wall:::CYGWIN32::BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_out_asm}:dlfcn:cygwin-shared:-D_WINDLL::.dll.a",
 
 # DJGPP
-"DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall -DDEVRANDOM=\"/dev/urandom\\x24\":::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::",
+"DJGPP", "gcc:-I/dev/env/WATT_ROOT/inc -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O2 -Wall:::MSDOS:-L/dev/env/WATT_ROOT/lib -lwatt:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}::::::::::",
 
 # Ultrix from Bernhard Simon <simon@zid.tuwien.ac.at>
 "ultrix-cc","cc:-std1 -O -Olimit 2500 -DL_ENDIAN::(unknown):::::::",
diff --git a/e_os.h b/e_os.h
index 5a328b7fa8fb31e50d536848dfb13dfac7a73d73..20ec86beedb4278630f8c7b6013a382794fa5d07 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -214,6 +214,7 @@ extern "C" {
 #    define _setmode setmode
 #    define _O_TEXT O_TEXT
 #    define _O_BINARY O_BINARY
+#    define DEVRANDOM "/dev/urandom\x24"
 #  endif /* __DJGPP__ */
 
 #  ifndef S_IFDIR