]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
Testing to define _REENTRANT unconditionally in here.
authorDaniel Stenberg <daniel@haxx.se>
Tue, 26 Oct 2004 13:31:55 +0000 (13:31 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 26 Oct 2004 13:31:55 +0000 (13:31 +0000)
lib/setup.h

index c18fd4a060fc561099c41b8c840131ac552ee87c..c6ee81181282391af8f912c3fffdda2284a216c2 100644 (file)
@@ -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