From 516af2e2a79292a879fab439be1fa3095ed1b68c Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Fri, 22 Mar 2013 08:53:11 +0000 Subject: [PATCH] Attempt to fix windows building with scons --- SConstruct | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SConstruct b/SConstruct index 72d5dca63b7..16e92907372 100644 --- a/SConstruct +++ b/SConstruct @@ -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']