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 abc3ac2..668c785 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);