diff --git a/configure.ac b/configure.ac index 608c376c..b7919c05 100644 --- a/configure.ac +++ b/configure.ac @@ -656,7 +656,7 @@ fi # Try to find a thread-safe version of getenv(). have_thread_safe_getenv=no jm_GLIBC21 -if test $GLIBC21 = yes; then +if test $GLIBC21 = yes -o have_w64_system = yes; then have_thread_safe_getenv=yes fi if test $have_thread_safe_getenv = yes; then