aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-08-17 09:00:30 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-08-17 09:00:30 +0000
commitdb302a1055f43ffd1b0a035b11e8b7704dc3fc58 (patch)
tree013ec62a53f270ca98cac4ca16ffa6ba6c482105
parent847c91e568ce64f1b1ca10919878c1bd7842aaa4 (diff)
define _THREAD_SAFE on (recent) AIX systems to build thread-safe code
-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