com php-src: removed outdated IsDebuggerPresent declaration: Zend/zend.c

From: Date: Mon, 23 Dec 2013 10:53:47 +0000
Subject: com php-src: removed outdated IsDebuggerPresent declaration: Zend/zend.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-75413@lists.php.net to get a copy of this message
Commit: f156e684ac290f4ec69564f653d3167cdb5c62be Author: Anatol Belski <ab@php.net> Mon, 23 Dec 2013 11:53:47 +0100 Parents: b1df00a7c98fb66cc801924287ebb73234999bfc Branches: PHP-5.4 PHP-5.5 PHP-5.6 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f156e684ac290f4ec69564f653d3167cdb5c62be 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 0602c45..eaf4ab9 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -43,10 +43,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 int (*zend_printf)(const char *format, ...);

« previous php.cvs (#75413) next »