Commit:    ea7a70708f68b7952767260796da411b9fb400d6
Author:    Anatol Belski <>         Mon, 23 Dec 2013 11:53:47 +0100
Parents:   1c462a4e4d4ce375492995b014dcafe44825f6d3
Branches:  str_size_and_int64


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

Changed paths:
  M  Zend/zend.c

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)
-#if defined(ZEND_WIN32) && ZEND_DEBUG
-BOOL WINAPI IsDebuggerPresent(VOID);
 /* 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 (
To unsubscribe, visit:

Reply via email to