Testing to define _REENTRANT unconditionally in here.

This commit is contained in:
Daniel Stenberg 2004-10-26 13:31:55 +00:00
parent 2a80a4c521
commit 7167cde020
1 changed files with 6 additions and 5 deletions

View 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