Attempt to fix windows building with scons
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 22 Mar 2013 08:53:11 +0000 (08:53 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 22 Mar 2013 08:53:11 +0000 (08:53 +0000)
SConstruct

index 72d5dca63b7482caf60485ce67c1658e5ddd3365..16e929073725ce27ded70dac6dc68a16f6be5659 100644 (file)
@@ -382,7 +382,9 @@ else:
 env['CPPFLAGS'].append('-DWITH_AUDASPACE')
 env['CPPFLAGS'].append('-DWITH_AVI')
 env['CPPFLAGS'].append('-DWITH_BOOL_COMPAT')
-env['CPPFLAGS'].append('-DHAVE_STDBOOL_H')
+
+if env['OURPLATFORM'] not in ('win32-vc', 'win64-vc'):
+    env['CPPFLAGS'].append('-DHAVE_STDBOOL_H')
 
 # lastly we check for root_build_dir ( we should not do before, otherwise we might do wrong builddir
 B.root_build_dir = env['BF_BUILDDIR']