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 19d8b13..96dc09a 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(