aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-05-31 07:03:04 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-05-31 07:03:04 +0000
commit77f34915ce25a22b2f2742ba69ac76093376dc94 (patch)
treeb426a121ff04283a9c0d1fc31fdfc70bfc4ec6df
parent72b8993164baff40ccd9a87daae0f19f4313fba2 (diff)
removed _REENTRANT define
-rw-r--r--lib/http.c7
-rw-r--r--lib/if2ip.c4
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/http.c b/lib/http.c
index 3aba7aadd..73d13a6dc 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -34,13 +34,6 @@
#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>
diff --git a/lib/if2ip.c b/lib/if2ip.c
index 01076c9a0..1e6a88f0d 100644
--- a/lib/if2ip.c
+++ b/lib/if2ip.c
@@ -34,10 +34,6 @@
#if ! defined(WIN32) && ! defined(__BEOS__) && !defined(__CYGWIN32__)
-#ifdef NEED_REENTRANT
-#define _REENTRANT
-#endif
-
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#endif