mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
Codechange: the flag is not if you have threads, but if you want to use them
This commit is contained in:
parent
634d1f16b2
commit
75a86d8460
2
configure
vendored
2
configure
vendored
@ -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;
|
||||||
|
@ -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;
|
||||||
|
|
||||||
|
@ -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 "#"
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user