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:36:49 +0000 (14:36 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 8 Nov 2001 14:36:49 +0000 (14:36 +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 b512e17166409d8b27b602014b6c3bd96d2f88f5..ec06afb87665d8e57f0a0323daf9af148e9ea232 100644 (file)
--- a/e_os.h
+++ b/e_os.h
@@ -413,12 +413,6 @@ extern HINSTANCE _hInstance;
 #  endif
 #endif
 
-#if defined(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>