From 39b7aa3f5e069180336189820246f3174e887c2f Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Fri, 23 Dec 2005 07:42:38 +0000 Subject: [PATCH] Committing in . configuration update for OpenVMS Modified Files: wxWidgets/setup.h_vms ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- setup.h_vms | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/setup.h_vms b/setup.h_vms index 236ff46c06..269a583051 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -53,7 +53,7 @@ #define HAVE_SSIZE_T 1 /* Define if you have the ANSI C header files. */ -#define STDC_HEADERS +#define STDC_HEADERS 1 /* Define to `int' if doesn't define. */ #undef uid_t @@ -962,7 +962,12 @@ #define HAVE_GETSERVBYNAME 1 /* Define if you have the gmtime_r function. */ +#if __CRTL_VER >= 70000000 && \ + (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE) +#define HAVE_GMTIME_R 1 +#else #undef HAVE_GMTIME_R +#endif /* Define if you have the inet_addr function. */ #define HAVE_INET_ADDR 1 @@ -971,7 +976,12 @@ #define HAVE_INET_ATON 1 /* Define if you have the localtime_r function. */ +#if __CRTL_VER >= 70000000 && \ + (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE) +#define HAVE_LOCALTIME_R 1 +#else #undef HAVE_LOCALTIME_R +#endif /* Define if you have the mktemp function. */ #define HAVE_MKTEMP 1