Loading acconfig.h +6 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,9 @@ /* Define if you have the gethostbyname_r() function with 6 arguments */ #undef HAVE_GETHOSTBYNAME_R_6 /* Define if you have the inet_ntoa_r function declared. */ #undef HAVE_INET_NTOA_R_DECL /* Define if you need the _REENTRANT define for some functions */ #undef NEED_REENTRANT lib/getdate.y +7 −4 Original line number Diff line number Diff line Loading @@ -8,15 +8,18 @@ ** This code is in the public domain and has no copyright. */ #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). */ #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 Loading Loading
acconfig.h +6 −0 Original line number Diff line number Diff line Loading @@ -27,3 +27,9 @@ /* Define if you have the gethostbyname_r() function with 6 arguments */ #undef HAVE_GETHOSTBYNAME_R_6 /* Define if you have the inet_ntoa_r function declared. */ #undef HAVE_INET_NTOA_R_DECL /* Define if you need the _REENTRANT define for some functions */ #undef NEED_REENTRANT
lib/getdate.y +7 −4 Original line number Diff line number Diff line Loading @@ -8,15 +8,18 @@ ** This code is in the public domain and has no copyright. */ #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). */ #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 Loading