]> granicus.if.org Git - curl/commitdiff
removed _REENTRANT define
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 07:03:04 +0000 (07:03 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 07:03:04 +0000 (07:03 +0000)
lib/http.c
lib/if2ip.c

index 3aba7aaddc29ef873bd744d7cadf9be9dd663a91..73d13a6dc637487a56775c4cbf28cd99e9795bda 100644 (file)
 
 #include <errno.h>
 
-
-#ifdef NEED_REENTRANT
-#define _REENTRANT /* Necessary to use in Solaris, since the silly guys at Sun
-                      made the localtime_r() prototype dependent on it (or
-                      _POSIX_C_SOURCE or _POSIX_PTHREAD_SEMANTICS). */
-#endif
-
 #if defined(WIN32) && !defined(__GNUC__) || defined(__MINGW32__)
 #include <winsock.h>
 #include <time.h>
index 01076c9a060efabf7d60ab3d0a7aa1c0104ed84c..1e6a88f0d5a91d45e9f4f4003c0bff6ac070fbbc 100644 (file)
 
 #if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
 
-#ifdef NEED_REENTRANT
-#define _REENTRANT
-#endif
-
 #ifdef HAVE_SYS_SOCKET_H
 #include <sys/socket.h>
 #endif