From 453e502236ddaabc46854d62fa0d6d0da92c4820 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sun, 6 Jul 2008 09:56:01 +0000 Subject: [PATCH] - MFB: correctly test the VCVERS (four digits now) --- win32/build/config.w32 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/build/config.w32 b/win32/build/config.w32 index d83fb4ac17..cb56b98561 100644 --- a/win32/build/config.w32 +++ b/win32/build/config.w32 @@ -144,7 +144,7 @@ DEFINE('CFLAGS_PHP_OBJ', '$(CFLAGS_PHP) $(STATIC_EXT_CFLAGS)'); DEFINE("CFLAGS", "/nologo /FD $(BASE_INCLUDES) /D _WINDOWS \ /D ZEND_WIN32=1 /D PHP_WIN32=1 /D WIN32 /D _MBCS"); -if (VCVERS < 14) { +if (VCVERS < 1400) { // Enable automatic precompiled headers ADD_FLAG('CFLAGS', ' /YX '); @@ -154,7 +154,7 @@ if (VCVERS < 14) { } } -if (VCVERS >= 14) { +if (VCVERS >= 1400) { // fun stuff: MS deprecated ANSI stdio and similar functions // disable annoying warnings. In addition, time_t defaults // to 64-bit. Ask for 32-bit. @@ -301,7 +301,7 @@ function add_extra_dirs() for (i = 0; i < path.length; i++) { f = FSO.GetAbsolutePathName(path[i]); if (FSO.FolderExists(f)) { - if (VCVERS <= 12 && f.indexOf(" ") >= 0) { + if (VCVERS <= 1200 && f.indexOf(" ") >= 0) { ADD_FLAG("LDFLAGS", '/libpath:"\\"' + f + '\\"" '); } else { ADD_FLAG("LDFLAGS", '/libpath:"' + f + '" '); -- 2.50.1