diff options
Diffstat (limited to 'third_party/bspatch/bspatch.scons')
-rw-r--r-- | third_party/bspatch/bspatch.scons | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/bspatch/bspatch.scons b/third_party/bspatch/bspatch.scons index 6160e66..06db297 100644 --- a/third_party/bspatch/bspatch.scons +++ b/third_party/bspatch/bspatch.scons @@ -10,14 +10,14 @@ env.ApplySConscript([ '$LZMA_SDK_DIR/using_lzma_sdk.scons', ]) -if env['PLATFORM'] == 'win32': +if env.Bit('windows'): env.Append( CCFLAGS = [ '/TP', '/wd4800', ], ) -elif env['PLATFORM'] == 'posix': +elif env.Bit('linux'): # We're not responsible for bad warning hygiene in this third party code. env.FilterOut( CXXFLAGS = ['-Wall'], |