Codechange: the flag is not if you have threads, but if you want to use them

This commit is contained in:
Patric Stout 2019-03-10 16:33:43 +01:00
parent 634d1f16b2
commit 75a86d8460
4 changed files with 4 additions and 4 deletions

2
configure vendored
View File

@ -123,7 +123,7 @@ AWKCOMMAND='
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; } if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; } if ($0 == "DIRECTMUSIC" && "'$with_direct_music'" == "0") { next; }
if ($0 == "FLUIDSYNTH" && "'$fluidsynth'" == "" ) { next; } if ($0 == "FLUIDSYNTH" && "'$fluidsynth'" == "" ) { next; }
if ($0 == "HAVE_THREAD" && "'$with_threads'" == "0") { next; } if ($0 == "USE_THREADS" && "'$with_threads'" == "0") { next; }
if ($0 == "SSE" && "'$with_sse'" != "1") { next; } if ($0 == "SSE" && "'$with_sse'" != "1") { next; }
skip += 1; skip += 1;

View File

@ -138,7 +138,7 @@ load_main_data() {
if ($0 == "MSVC" && "'$os'" != "MSVC") { next; } if ($0 == "MSVC" && "'$os'" != "MSVC") { next; }
if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; } if ($0 == "DIRECTMUSIC" && "'$enable_directmusic'" != "1") { next; }
if ($0 == "FLUIDSYNTH" && "'$enable_fluidsynth'" != "1") { next; } if ($0 == "FLUIDSYNTH" && "'$enable_fluidsynth'" != "1") { next; }
if ($0 == "HAVE_THREAD" && "'$with_threads'" == "0") { next; } if ($0 == "USE_THREADS" && "'$with_threads'" == "0") { next; }
skip += 1; skip += 1;

View File

@ -180,7 +180,7 @@ Sub load_main_data(filename, ByRef vcxproj, ByRef filters, ByRef files)
line = "DIRECTMUSIC" Or _ line = "DIRECTMUSIC" Or _
line = "AI" Or _ line = "AI" Or _
line = "SSE" Or _ line = "SSE" Or _
line = "HAVE_THREAD" _ line = "USE_THREADS" _
) Then skip = skip + 1 ) Then skip = skip + 1
deep = deep + 1 deep = deep + 1
Case "#" Case "#"

View File

@ -1177,7 +1177,7 @@ sound/null_s.cpp
# Threading # Threading
thread/thread.h thread/thread.h
#if HAVE_THREAD #if USE_THREADS
#if WIN32 #if WIN32
thread/thread_win32.cpp thread/thread_win32.cpp
#else #else