aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
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