From aff255194252aba84497f6dd8fb4e2387f1f0d13 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 21 Jan 2015 11:04:52 -0500 Subject: [PATCH] Remove conditionals in ambuild scripts for using msvc <2013 (not supported). --- AMBuildScript | 2 -- core/AMBuilder | 4 ---- 2 files changed, 6 deletions(-) diff --git a/AMBuildScript b/AMBuildScript index d2b99d54..f2214adb 100644 --- a/AMBuildScript +++ b/AMBuildScript @@ -216,8 +216,6 @@ class SMConfig(object): '_CRT_NONSTDC_NO_DEPRECATE', '_ITERATOR_DEBUG_LEVEL=0', ] - if cxx.version < 1800: - cxx.defines += 'strtoull=_strtoui64' cxx.cflags += [ '/W3', ] diff --git a/core/AMBuilder b/core/AMBuilder index 04c481be..daf632e6 100644 --- a/core/AMBuilder +++ b/core/AMBuilder @@ -78,10 +78,6 @@ for sdk_name in SM.sdks: vs_year = '' if msvc_ver == 1800: vs_year = '2013' - elif msvc_ver == 1700: - vs_year = '2012' - elif msvc_ver == 1600: - vs_year = '2010' else: raise Exception('Cannot find libprotobuf for MSVC version "' + compiler.version + '"')