From cce370d4c9b2989485299619019575fabfe3e595 Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Mon, 18 Jan 2016 18:08:49 +0100 Subject: [PATCH] fix compiler version check --- win32/build/confutils.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/win32/build/confutils.js b/win32/build/confutils.js index a9b2e9c250..d25eacad7b 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"); } -- 2.40.0