aboutsummaryrefslogtreecommitdiff
path: root/lib/setup.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-10-26 13:31:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-10-26 13:31:55 +0000
commit7167cde020546eb73c532bc304fa6d137c1e1094 (patch)
treed3ed86911628c7e1439bba2a001924f2a77bf16a /lib/setup.h
parent2a80a4c5210b10f84f97686583b5bc8e1511cfd1 (diff)
Testing to define _REENTRANT unconditionally in here.
Diffstat (limited to 'lib/setup.h')
-rw-r--r--lib/setup.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/setup.h b/lib/setup.h
index c18fd4a06..c6ee81181 100644
--- a/lib/setup.h
+++ b/lib/setup.h
@@ -91,12 +91,13 @@ typedef unsigned char bool;
#define FORMAT_OFF_T "ld"
#endif
-#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 */
+/*#ifdef NEED_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