Code

configure: Define _REENTRANT when compiling on Solaris.
[collectd.git] / configure.in
index 84a3040892fe6ef1950761109b07a2f8d4c2994c..b5c3e29d658598e567229d76616ea3e6209150ee 100644 (file)
@@ -91,6 +91,7 @@ fi
 if test "x$ac_system" = "xSolaris"
 then
        AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Define to enforce POSIX thread semantics under Solaris.])
+       AC_DEFINE(_REENTRANT,               1, [Define to enable reentrancy interfaces.])
 fi
 if test "x$ac_system" = "xAIX"
 then