Don't define _REENTRANT here in e_os.h. On systems where we need
_REENTRANT if threads support is enabled, the ./Configure entry must define it so that it ends up in CFLAG.
This commit is contained in:
parent
3a3619b46a
commit
60c50cbf9c
6
e_os.h
6
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)
|
#if defined(sun) && !defined(__svr4__) && !defined(__SVR4)
|
||||||
/* include headers first, so our defines don't break it */
|
/* include headers first, so our defines don't break it */
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user