From 5f0366c2cb002d1d067abe28c4980930015fff36 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 19 Apr 2005 23:19:23 +0000 Subject: only define _REENTRANT if not already defined, and only in setup.h --- lib/setup.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/setup.h') 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 #ifdef HAVE_ASSERT_H -- cgit v1.2.3