Skip to content

Commit f156e68

Browse files
committed
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
1 parent b1df00a commit f156e68

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Zend/zend.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@
4343
# define GLOBAL_CONSTANTS_TABLE EG(zend_constants)
4444
#endif
4545

46-
#if defined(ZEND_WIN32) && ZEND_DEBUG
47-
BOOL WINAPI IsDebuggerPresent(VOID);
48-
#endif
49-
5046
/* true multithread-shared globals */
5147
ZEND_API zend_class_entry *zend_standard_class_def = NULL;
5248
ZEND_API int (*zend_printf)(const char *format, ...);

0 commit comments

Comments
 (0)