diff --git a/configure b/configure index 5750911003..4d08dd0fc0 100755 --- a/configure +++ b/configure @@ -42674,7 +42674,8 @@ else int main() { - return !!strptime("", "%x", NULL); + struct tm t; + return !!strptime("", "%x", &t); } _ACEOF diff --git a/configure.in b/configure.in index c29df7275b..38dc948eed 100644 --- a/configure.in +++ b/configure.in @@ -6127,7 +6127,8 @@ if test "$wxUSE_DATETIME" = "yes"; then int main() { - return !!strptime("", "%x", NULL); + struct tm t; + return !!strptime("", "%x", &t); } ], wx_cv_func_strptime_ok=yes,