scons: Define _ALLOW_KEYWORD_MACROS on MSVC builds.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 14 Mar 2013 17:40:14 +0000 (17:40 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Thu, 14 Mar 2013 19:01:10 +0000 (19:01 +0000)
commita35a19a6ea7248d98282f87244138299fa130c85
treeb8db337205fc6a7bdc8b58b02387523f6ee10f26
parent6a3d77e13dbae17000e35ce16023532200e68d09
scons: Define _ALLOW_KEYWORD_MACROS on MSVC builds.

scons/llvm.py defines inline globally to workaround issues with LLVM C
binding headers, so the only way to is to avoid
aggravating xkeycheck.h errors is to set _ALLOW_KEYWORD_MACROS.

This fixes MSVC 2012 build with LLVM.

Reviewed-by: Brian Paul <brianp@vmware.com>
include/c99_compat.h
scons/gallium.py