From: Vadim Zeitlin Date: Sun, 25 Sep 2005 22:42:43 +0000 (+0000) Subject: don't declare strptime() ourselves if the system already does it, we might have a... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/fdda7199e84ccd58ec1bdaf364ac0968209de1fb don't declare strptime() ourselves if the system already does it, we might have a slightly different declaration and this causes problems git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/setup.h.in b/setup.h.in index 47c35d8f85..7cca609a4a 100644 --- a/setup.h.in +++ b/setup.h.in @@ -781,6 +781,9 @@ /* Define if you have strptime() */ #undef HAVE_STRPTIME +/* Define if strptime() is declared in headers */ +#undef HAVE_STRPTIME_DECL + /* Define if you have all functions to set thread priority */ #undef HAVE_THREAD_PRIORITY_FUNCTIONS diff --git a/setup.h_vms b/setup.h_vms index 98533574f0..92cc838cc5 100644 --- a/setup.h_vms +++ b/setup.h_vms @@ -824,7 +824,10 @@ /* Define if you have strptime() */ #define HAVE_STRPTIME 1 - + +/* Define if you have strptime() declaration */ +#define HAVE_STRPTIME_DECL 1 + /* Define if you have all functions to set thread priority */ #define HAVE_THREAD_PRIORITY_FUNCTIONS 1