From 5b96047ce875e3754d4d1049efb440a92d2e74c8 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Fri, 28 Feb 2014 20:43:07 -0500 Subject: [PATCH] Enable SDK "COMPILER_*" defines for all builds (nobug, r=asherkin). --- AMBuildScript | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/AMBuildScript b/AMBuildScript index 44a0e02f..69cf21ee 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -343,11 +343,10 @@ class SMConfig(object): compiler.defines.remove('_snprintf=snprintf') compiler.defines.remove('_vsnprintf=vsnprintf') - if sdk.name in ['swarm', 'blade', 'insurgency', 'csgo', 'dota']: - if compiler.cc.behavior == 'msvc': - compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32'] - else: - compiler.defines += ['COMPILER_GCC'] + if compiler.cc.behavior == 'msvc': + compiler.defines += ['COMPILER_MSVC', 'COMPILER_MSVC32'] + else: + compiler.defines += ['COMPILER_GCC'] # For everything after Swarm, this needs to be defined for entity networking # to work properly with sendprop value changes.