diff --git a/configure b/configure index def8aaae5b..5f830dbd84 100755 --- a/configure +++ b/configure @@ -14619,7 +14619,7 @@ if test "$wxUSE_THREADS" = "yes"; then EOF - if test "$wxUSE_DARWIN" = "0"; then + if test "x$wxUSE_DARWIN" != "x1"; then CFLAGS="${CFLAGS} -D_REENTRANT" CXXFLAGS="${CXXFLAGS} -D_REENTRANT" fi diff --git a/configure.in b/configure.in index 609aa631c7..652c5c96aa 100644 --- a/configure.in +++ b/configure.in @@ -3061,7 +3061,7 @@ if test "$wxUSE_THREADS" = "yes"; then AC_DEFINE(wxUSE_THREADS) dnl must define _REENTRANT for multithreaded code except for Darwin/Mac OS X - if test "$wxUSE_DARWIN" = "0"; then + if test "x$wxUSE_DARWIN" != "x1"; then CFLAGS="${CFLAGS} -D_REENTRANT" CXXFLAGS="${CXXFLAGS} -D_REENTRANT" fi