diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-04-19 23:19:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-04-19 23:19:23 +0000 |
commit | 5f0366c2cb002d1d067abe28c4980930015fff36 (patch) | |
tree | 45cdebe71bbfd05df18e8968e19cdde27c4b09b6 /lib/setup.h | |
parent | 779ca0977558cb51482c8f6e04cfdc0e0a2e493f (diff) |
only define _REENTRANT if not already defined, and only in setup.h
Diffstat (limited to 'lib/setup.h')
-rw-r--r-- | lib/setup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/setup.h b/lib/setup.h index a248e0669..b44e777c9 100644 --- a/lib/setup.h +++ b/lib/setup.h @@ -95,13 +95,13 @@ typedef unsigned char bool; #define FORMAT_OFF_T "ld" #endif -/*#ifdef NEED_REENTRANT*/ +#ifndef _REENTRANT /* Solaris 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. Unixware needs it to build proper reentrant code. Others may also need it. */ #define _REENTRANT -/*#endif */ +#endif #include <stdio.h> #ifdef HAVE_ASSERT_H |