scons: Need c99 also when cross compiling.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 11 Feb 2011 17:59:36 +0000 (17:59 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 11 Feb 2011 20:09:26 +0000 (20:09 +0000)
SConstruct

index 19d8b13ccc939195d0252e81156d633a598784cd..96dc09a4220eb53beb77c742c6ba8e486acc7cdf 100644 (file)
@@ -150,6 +150,9 @@ if env['crosscompile'] and env['platform'] != 'embedded':
     host_env['hostonly'] = True
     assert host_env['crosscompile'] == False
 
+    if host_env['msvc']:
+        host_env.Append(CPPPATH = ['#include/c99'])
+
     Export(env = host_env)
 
     SConscript(