cvs: php4 /main user_streams.c
| From: | Yasuo Ohgaki | Date: | Fri, 29 Mar 2002 01:19:03 +0000 |
| Subject: | cvs: php4 /main user_streams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-10753@lists.php.net to get a copy of this message | ||
yohgaki Thu Mar 28 20:19:03 2002 EDT
Modified files:
/php4/main user_streams.c
Log:
Fix ZE2 build.
Index: php4/main/user_streams.c
diff -u php4/main/user_streams.c:1.9 php4/main/user_streams.c:1.10
--- php4/main/user_streams.c:1.9 Wed Mar 27 19:49:00 2002
+++ php4/main/user_streams.c Thu Mar 28 20:19:02 2002
@@ -221,7 +221,7 @@
rsrc_id = ZEND_REGISTER_RESOURCE(NULL, uwrap, le_protocols);
if (zend_hash_find(EG(class_table), uwrap->classname, classname_len + 1,
(void**)&uwrap->ce) == SUCCESS) {
-#if ZEND_ENGINE_2
+#ifdef ZEND_ENGINE_2
uwrap->ce = *(zend_class_entry**)uwrap->ce;
#endif
if (php_register_url_stream_wrapper(protocol, &uwrap->wrapper TSRMLS_CC) == SUCCESS) {