Commit: ea7a70708f68b7952767260796da411b9fb400d6 Author: Anatol Belski <a...@php.net> Mon, 23 Dec 2013 11:53:47 +0100 Parents: 1c462a4e4d4ce375492995b014dcafe44825f6d3 Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ea7a70708f68b7952767260796da411b9fb400d6 Log: removed outdated IsDebuggerPresent declaration This piece of code seems to retain compatibility with some windows versions before 2000. Today it's not relevant anymore and only produces a warning C4273 because of the conflicting prototype. In VC9 the declaration is present in winbase.h:4142, but available is it already in winxp. Here's the doc link http://msdn.microsoft.com/en-us/library/windows/desktop/ms680345(v=vs.85).aspx Changed paths: M Zend/zend.c Diff: diff --git a/Zend/zend.c b/Zend/zend.c index 0c10b41..b6917e4 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -44,10 +44,6 @@ # define GLOBAL_CONSTANTS_TABLE EG(zend_constants) #endif -#if defined(ZEND_WIN32) && ZEND_DEBUG -BOOL WINAPI IsDebuggerPresent(VOID); -#endif - /* true multithread-shared globals */ ZEND_API zend_class_entry *zend_standard_class_def = NULL; ZEND_API zend_size_t (*zend_printf)(const char *format, ...); -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php