aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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