Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin).
authorNicholas Hastings <skamonkey@gmail.com>
Fri Feb 28 20:43:07 2014 -0500 (2014-02-28)
changeset 42647cfd2b41f336
parent 4263 7b47327b98c7
child 4265 4e7e7b18ae2b
Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin).
AMBuildScript
     1.1 --- a/AMBuildScript	Fri Feb 28 15:03:53 2014 -0500
     1.2 +++ b/AMBuildScript	Fri Feb 28 20:43:07 2014 -0500
     1.3 @@ -343,11 +343,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  	# For everything after Swarm, this needs to be defined for entity networking
    1.18  	# to work properly with sendprop value changes.