com php-src: fix compiler version check: win32/build/confutils.js

From: Date: Mon, 18 Jan 2016 17:32:17 +0000
Subject: com php-src: fix compiler version check: win32/build/confutils.js
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-90688@lists.php.net to get a copy of this message
Commit: cce370d4c9b2989485299619019575fabfe3e595 Author: Anatol Belski <ab@php.net> Mon, 18 Jan 2016 18:08:49 +0100 Parents: b94ed769f410b319a6b2ed50cc6377e48e6467cd Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cce370d4c9b2989485299619019575fabfe3e595 Log: fix compiler version check Changed paths: M win32/build/confutils.js Diff: diff --git a/win32/build/confutils.js b/win32/build/confutils.js index a9b2e9c..d25eaca 100644 --- a/win32/build/confutils.js +++ b/win32/build/confutils.js @@ -2644,6 +2644,8 @@ function toolset_setup_common_cflags() } else { if (VCVERS >= 1900) { ADD_FLAG('CFLAGS', "/guard:cf"); + } + if (VCVERS >= 1800) { if (PHP_PGI != "yes" && PHP_PGO != "yes") { ADD_FLAG('CFLAGS', "/Zc:inline"); }

« previous php.cvs (#90688) next »