Commit 6826d58b authored by José Fonseca's avatar José Fonseca

scons: Need c99 also when cross compiling.

parent 982609f4
...@@ -150,6 +150,9 @@ if env['crosscompile'] and env['platform'] != 'embedded': ...@@ -150,6 +150,9 @@ if env['crosscompile'] and env['platform'] != 'embedded':
host_env['hostonly'] = True host_env['hostonly'] = True
assert host_env['crosscompile'] == False assert host_env['crosscompile'] == False
if host_env['msvc']:
host_env.Append(CPPPATH = ['#include/c99'])
Export(env = host_env) Export(env = host_env)
SConscript( SConscript(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment