Code

curl_json plugin: Restore struct when handling error.
[collectd.git] / configure.in
index 3e31cf2a6de15bb46f65a35fa4ad2d11644d4495..8f6eadeedfc825cc74cf60a20b5d6f4d339712fd 100644 (file)
@@ -88,6 +88,10 @@ if test "x$ac_system" = "xSolaris"
 then
        AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Define to enforce POSIX thread semantics under Solaris.])
 fi
+if test "x$ac_system" = "xAIX"
+then
+       AC_DEFINE(_THREAD_SAFE_ERRNO, 1, [Define to use the thread-safe version of errno under AIX.])
+fi
 
 # Where to install .pc files.
 pkgconfigdir="${libdir}/pkgconfig"