cvs: pecl /demoext php_demoext.c
| From: | Marcus Boerger | Date: | Sun, 03 Feb 2008 00:38:22 +0000 |
| Subject: | cvs: pecl /demoext php_demoext.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-9664@lists.php.net to get a copy of this message | ||
helly Sun Feb 3 00:38:22 2008 UTC
Modified files:
/pecl/demoext php_demoext.c
Log:
- Fx build
http://cvs.php.net/viewvc.cgi/pecl/demoext/php_demoext.c?r1=1.4&r2=1.5&diff_format=u
Index: pecl/demoext/php_demoext.c
diff -u pecl/demoext/php_demoext.c:1.4 pecl/demoext/php_demoext.c:1.5
--- pecl/demoext/php_demoext.c:1.4 Thu Jan 31 07:37:37 2008
+++ pecl/demoext/php_demoext.c Sun Feb 3 00:38:22 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_demoext.c,v 1.4 2008/01/31 07:37:37 helly Exp $ */
+/* $Id: php_demoext.c,v 1.5 2008/02/03 00:38:22 helly Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -36,7 +36,7 @@
#include "php_demoext.h"
-#ifndef Z_ADDREF_P(x)
+#ifndef Z_ADDREF_P
#define Z_ADDREF_P(x) (x)->refcount++
#endif
@@ -222,10 +222,10 @@
#endif
/* }}} */
-#if PHP_MAJOR_VERSION >= 6
-#define EXTSRM TSRMLS_C
-#else
+#if PHP_VERSION_ID < 50200
#define EXTSRM
+#else
+#define EXTSRM TSRMLS_C
#endif
/* {{{ proto void dir::__construct(string path)