1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

includes setup.h, and thus I could remove the _REENTRANT define

This commit is contained in:
Daniel Stenberg 2001-05-31 07:00:21 +00:00
parent 95c94bf658
commit 928ff54388

View File

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