cvs: ZendEngine2 / zend.h
| From: | Andrei Zmievski | Date: | Thu, 04 May 2006 21:29:21 +0000 |
| Subject: | cvs: ZendEngine2 / zend.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4834@lists.php.net to get a copy of this message | ||
andrei Thu May 4 21:29:21 2006 UTC
Modified files:
/ZendEngine2 zend.h
Log:
Oops again.
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend.h?r1=1.319&r2=1.320&diff_format=u
Index: ZendEngine2/zend.h
diff -u ZendEngine2/zend.h:1.319 ZendEngine2/zend.h:1.320
--- ZendEngine2/zend.h:1.319 Thu May 4 21:22:17 2006
+++ ZendEngine2/zend.h Thu May 4 21:29:21 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.h,v 1.319 2006/05/04 21:22:17 andrei Exp $ */
+/* $Id: zend.h,v 1.320 2006/05/04 21:29:21 andrei Exp $ */
#ifndef ZEND_H
#define ZEND_H
@@ -246,6 +246,11 @@
void *v;
} zstr;
+#ifdef __GNUC__
+# define ZSTR(x) ((zstr)(x))
+# define NULL_ZSTR ZSTR((void*)NULL)
+# define EMPTY_ZSTR ZSTR("\0\0")
+#else
extern ZEND_API zstr null_zstr;
extern ZEND_API zstr empty_zstr;
@@ -258,6 +263,7 @@
# define ZSTR(x) _to_zstr(x)
# define NULL_ZSTR null_zstr
# define EMPTY_ZSTR empty_zstr
+#endif
#define EMPTY_STR ((UChar*)"\0\0")