]> granicus.if.org Git - curl/commitdiff
includes setup.h, and thus I could remove the _REENTRANT define
authorDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 07:00:21 +0000 (07:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2001 07:00:21 +0000 (07:00 +0000)
lib/getdate.y

index 12b348d86799ffea00315ec2f25f3d68c94c8ec8..32749db5917fdab15d1fad3f37b8b7dd86628c25 100644 (file)
@@ -8,18 +8,14 @@
 **  This code is in the public domain and has no copyright.
 */
 
+#include "setup.h"
+
 #ifdef HAVE_CONFIG_H
 # include "config.h"
 # ifdef HAVE_ALLOCA_H
 #  include <alloca.h>
 # endif
 
-# 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
-
 # ifdef HAVE_TIME_H
 #  include <time.h>
 # endif