mirror of
https://github.com/php/php-src.git
synced 2024-12-14 04:16:30 +08:00
Merge branch 'PHP-5.3' into PHP-5.4
* PHP-5.3: -enable VC11 (vc2012)
This commit is contained in:
commit
cea7f09043
@ -181,8 +181,13 @@ if (VCVERS >= 1500 && PHP_MP != 'disable') {
|
||||
}
|
||||
|
||||
// General link flags
|
||||
DEFINE("LDFLAGS", "/nologo /version:" +
|
||||
PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION);
|
||||
|
||||
if (VCVERS >= 1700) {
|
||||
DEFINE("LDFLAGS", "/nologo ");
|
||||
} else {
|
||||
DEFINE("LDFLAGS", "/nologo /version:" +
|
||||
PHP_VERSION + "." + PHP_MINOR_VERSION + "." + PHP_RELEASE_VERSION);
|
||||
}
|
||||
|
||||
// General DLL link flags
|
||||
DEFINE("DLL_LDFLAGS", "/dll ");
|
||||
|
@ -46,6 +46,7 @@ VC_VERSIONS[1310] = 'MSVC7.1 (Visual C++ 2003)';
|
||||
VC_VERSIONS[1400] = 'MSVC8 (Visual C++ 2005)';
|
||||
VC_VERSIONS[1500] = 'MSVC9 (Visual C++ 2008)';
|
||||
VC_VERSIONS[1600] = 'MSVC10 (Visual C++ 2010)';
|
||||
VC_VERSIONS[1700] = 'MSVC11 (Visual C++ 2012)';
|
||||
|
||||
var VC_VERSIONS_SHORT = new Array();
|
||||
VC_VERSIONS_SHORT[1200] = 'VC6';
|
||||
@ -54,6 +55,7 @@ VC_VERSIONS_SHORT[1310] = 'VC7.1';
|
||||
VC_VERSIONS_SHORT[1400] = 'VC8';
|
||||
VC_VERSIONS_SHORT[1500] = 'VC9';
|
||||
VC_VERSIONS_SHORT[1600] = 'VC10';
|
||||
VC_VERSIONS_SHORT[1700] = 'VC11';
|
||||
|
||||
if (PROGRAM_FILES == null) {
|
||||
PROGRAM_FILES = "C:\\Program Files";
|
||||
|
Loading…
Reference in New Issue
Block a user