use OPENSSL_SYS_MSDOS rather than __DJGPP__ to disable egd, this is not
authorUlf Möller <ulf@openssl.org>
Sun, 22 Sep 2002 08:49:22 +0000 (08:49 +0000)
committerUlf Möller <ulf@openssl.org>
Sun, 22 Sep 2002 08:49:22 +0000 (08:49 +0000)
compiler specific

crypto/rand/rand_egd.c

index abc3ac27d552c51a270fb60eed5601bd326e5b4e..668c785f00700f18e06389059f0abaa74746330d 100644 (file)
@@ -94,7 +94,7 @@
  *   RAND_egd() is a wrapper for RAND_egd_bytes() with numbytes=255.
  */
 
-#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(__DJGPP__)
+#if defined(OPENSSL_SYS_WIN32) || defined(OPENSSL_SYS_VMS) || defined(OPENSSL_SYS_MSDOS)
 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes)
        {
        return(-1);