Don't define _REENTRANT here in e_os.h. On systems where we need
authorBodo Möller <bodo@openssl.org>
Thu, 8 Nov 2001 14:32:06 +0000 (14:32 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Nov 2001 14:32:06 +0000 (14:32 +0000)
_REENTRANT if threads support is enabled, the ./Configure entry must
define it so that it ends up in CFLAG.

e_os.h

diff --git a/e_os.h b/e_os.h
index 3674db552fdf23e3137ce38ad54eee5aae5e70fb..19f085682cdeae84b97f56a2384c7f854e95bf40 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -418,12 +418,6 @@ extern HINSTANCE _hInstance;
 #  endif
 #endif
 
 #  endif
 #endif
 
-#if defined(OPENSSL_THREADS) || defined(sun)
-#ifndef _REENTRANT
-#define _REENTRANT
-#endif
-#endif
-
 #if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
   /* include headers first, so our defines don't break it */
 #include <stdlib.h>
 #if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
   /* include headers first, so our defines don't break it */
 #include <stdlib.h>