mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-18 11:52:22 -07:00
Use DEFAULT_TO_THREADED_CHECKER
This commit is contained in:
+2
-2
@@ -1226,7 +1226,7 @@ bool parse_build_flags(Array<String> args) {
|
||||
break;
|
||||
|
||||
case BuildFlag_ThreadedChecker:
|
||||
#if defined(GB_SYSTEM_WINDOWS)
|
||||
#if defined(DEFAULT_TO_THREADED_CHECKER)
|
||||
gb_printf_err("-threaded-checker is the default on this platform\n");
|
||||
bad_flags = true;
|
||||
#endif
|
||||
@@ -1234,7 +1234,7 @@ bool parse_build_flags(Array<String> args) {
|
||||
break;
|
||||
|
||||
case BuildFlag_NoThreadedChecker:
|
||||
#if !defined(GB_SYSTEM_WINDOWS)
|
||||
#if !defined(DEFAULT_TO_THREADED_CHECKER)
|
||||
gb_printf_err("-no-threaded-checker is the default on this platform\n");
|
||||
bad_flags = true;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user