[xdebug-dev] xdebug xdebug/xdebug.c - fix compile for 5.0

From: Shane Caraveo <shane[@]caraveo.com>
Date: Wed, 20 Oct 2004 19:03:43 +0200

Date: Wed Oct 20 19:03:43 CEST 2004
User: Shane Caraveo
Directory: xdebug

Log Message:
[0.1]
- fix compile for 5.0
Modified files:
           xdebug/xdebug.c (version: 1.243)

[FILE: /xdebug/xdebug.c]

===================================================================
RCS file: cvstemp,v
retrieving revision 1.242
retrieving revision 1.243
diff -u -r1.242 -r1.243
--- xdebug/xdebug.c:1.242 Wed Oct 20 05:35:46 2004 GMT
+++ xdebug/xdebug.c Wed Oct 20 15:03:43 2004 GMT
@@ -54,8 +54,11 @@
 #include "zend_extensions.h"
 #ifdef ZEND_ENGINE_2
 #include "zend_exceptions.h"
+// XXX No good way to know when the vm is introduced???
+#if PHP_MAJOR_VERSION >= 5 && PHP_MINOR_VERSION >= 1
 #include "zend_vm.h"
 #endif
+#endif
 
 #include "php_xdebug.h"
 #include "xdebug_private.h"
Received on Wed Oct 20 2004 - 19:03:51 BST

This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST