From: Daniel Stenberg Date: Tue, 26 Oct 2004 13:31:55 +0000 (+0000) Subject: Testing to define _REENTRANT unconditionally in here. X-Git-Tag: curl-7_12_3~265 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7167cde020546eb73c532bc304fa6d137c1e1094;p=thirdparty%2Fcurl.git Testing to define _REENTRANT unconditionally in here. --- diff --git a/lib/setup.h b/lib/setup.h index c18fd4a060..c6ee811812 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 #ifdef HAVE_ASSERT_H