1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

if NEED_REENTRANT is set, define _REENTRANT already here since it has to

be defined as many include files as possible (Solaris req)
This commit is contained in:
Daniel Stenberg 2001-05-31 07:01:08 +00:00
parent 928ff54388
commit 6532f737eb

View File

@ -44,6 +44,14 @@
typedef char bool; typedef char bool;
#endif /* (rabe) */ #endif /* (rabe) */
#ifdef NEED_REENTRANT
/* Solaris machines needs _REENTRANT set for a few function prototypes and
things to appear in the #include files. We need to #define it before all
#include files */
#define _REENTRANT
#endif
#include <stdio.h> #include <stdio.h>
#ifndef OS #ifndef OS
#ifdef WIN32 #ifdef WIN32