diff options
author | Anatol Belski <ab@php.net> | 2013-12-23 11:53:47 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-12-23 11:53:47 +0100 |
commit | f156e684ac290f4ec69564f653d3167cdb5c62be (patch) | |
tree | 5f64b2285590ed6a7ac1776e651f6e819e552311 | |
parent | b1df00a7c98fb66cc801924287ebb73234999bfc (diff) | |
download | php-git-f156e684ac290f4ec69564f653d3167cdb5c62be.tar.gz |
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
-rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Zend/zend.c b/Zend/zend.c index 0602c45042..eaf4ab9a9a 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, ...); |