Commit 6532f737 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

be defined as many include files as possible (Solaris req)
parent 928ff543
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -44,6 +44,14 @@
typedef char bool;
#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>
#ifndef OS
#ifdef WIN32