Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin).
authorNicholas Hastings <skamonkey@gmail.com>
Fri Feb 28 20:53:55 2014 -0500 (2014-02-28)
changeset 9086c6cacd2cfd0
parent 907 5e7cfd30f942
child 909 57797db1d513
Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin).
AMBuildScript
     1.1 --- a/AMBuildScript	Mon Mar 10 22:40:06 2014 -0500
     1.2 +++ b/AMBuildScript	Fri Feb 28 20:53:55 2014 -0500
     1.3 @@ -253,11 +253,10 @@
     1.4        compiler.defines.remove('_snprintf=snprintf')
     1.5        compiler.defines.remove('_vsnprintf=vsnprintf')
     1.6  
     1.7 -    if sdk.name in ['swarm', 'blade', 'insurgency', 'csgo', 'dota']:
     1.8 -      if compiler.cc.behavior == 'msvc':
     1.9 -        compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32']
    1.10 -      else:
    1.11 -        compiler.defines += ['COMPILER_GCC']
    1.12 +    if compiler.cc.behavior == 'msvc':
    1.13 +      compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32']
    1.14 +    else:
    1.15 +      compiler.defines += ['COMPILER_GCC']
    1.16  
    1.17      if sdk.name in ['css', 'hl2dm', 'dods', '2013', 'tf2', 'l4d2', 'dota']:
    1.18        if builder.target_platform in ['linux', 'mac']: