1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-09 04:58:16 +03:00

Default to native threads on MinGW-w64

This commit is contained in:
Nick Wellnhofer 2017-10-09 16:41:58 +02:00
parent 5672397477
commit 8575c1170b

View File

@ -1053,9 +1053,9 @@ if test "$with_threads" = "no" ; then
else
echo Enabling multithreaded support
dnl Default to native threads on Win32
dnl Default to native threads on Windows
case $host_os in
*mingw32*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
*mingw*) if test "$with_threads" != "pthread" && test "$with_threads" != "no"; then
WITH_THREADS="1"
THREADS_W32="1"
THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"