com php-src: Drop this VC8+ check, since our bare minimum of required VC version is higher anyway, meaning that CRT warnings are always supported.:
main/main.c

From: Date: Sun, 29 Mar 2015 04:45:40 +0000
Subject: com php-src: Drop this VC8+ check, since our bare minimum of required VC version is higher anyway, meaning that CRT warnings are always supported.:
main/main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85913@lists.php.net to get a copy of this message
Commit: a75e8d1fe6e43571b2add5da5db9eed02c69a8fc Author: Kalle Sommer Nielsen <kalle@php.net> Sun, 29 Mar 2015 06:45:40 +0200 Parents: ca0a2e7a3cb202864c8a57a061d3dee567a7703b Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a75e8d1fe6e43571b2add5da5db9eed02c69a8fc Log: Drop this VC8+ check, since our bare minimum of required VC version is higher anyway, meaning that CRT warnings are always supported. Changed paths: M main/main.c Diff: diff --git a/main/main.c b/main/main.c index 2a808dd..a7f3bad 100644 --- a/main/main.c +++ b/main/main.c @@ -1974,7 +1974,7 @@ static int php_register_extensions_bc(zend_module_entry *ptr, int count) } /* }}} */ -#if defined(PHP_WIN32) && _MSC_VER >= 1400 +#ifdef PHP_WIN32 static _invalid_parameter_handler old_invalid_parameter_handler; void dummy_invalid_parameter_handler( @@ -2023,7 +2023,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod #endif #ifdef PHP_WIN32 php_os = "WINNT"; -#if _MSC_VER >= 1400 + old_invalid_parameter_handler = _set_invalid_parameter_handler(dummy_invalid_parameter_handler); if (old_invalid_parameter_handler != NULL) { @@ -2032,7 +2032,6 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod /* Disable the message box for assertions.*/ _CrtSetReportMode(_CRT_ASSERT, 0); -#endif #else php_os = PHP_OS; #endif @@ -2412,7 +2411,7 @@ void php_module_shutdown(void) ts_free_id(core_globals_id); #endif -#if defined(PHP_WIN32) && defined(_MSC_VER) && (_MSC_VER >= 1400) +#ifdef PHP_WIN32 if (old_invalid_parameter_handler == NULL) { _set_invalid_parameter_handler(old_invalid_parameter_handler); }

« previous php.cvs (#85913) next »