]> granicus.if.org Git - curl/commitdiff
define _THREAD_SAFE on (recent) AIX systems to build thread-safe code
authorDaniel Stenberg <daniel@haxx.se>
Tue, 17 Aug 2004 09:00:30 +0000 (09:00 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 17 Aug 2004 09:00:30 +0000 (09:00 +0000)
configure.ac

index faddfd5808017dc79e570b02461e621373dc5c21..5745d4776cd1464c162599277e1093fe01237cf4 100644 (file)
@@ -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