diff --git a/configure.ac b/configure.ac index faddfd580..5745d4776 100644 --- a/configure.ac +++ b/configure.ac @@ -1045,6 +1045,8 @@ if test "x$RECENTAIX" = "xyes"; then CURL_CHECK_STRERROR_R() AC_CHECK_FUNCS( gmtime_r ) + + AC_DEFINE(_THREAD_SAFE, 1, [define this if you need it to compile thread-safe code]) fi