summaryrefslogtreecommitdiff
path: root/main/user_streams.c
diff options
context:
space:
mode:
authorYasuo Ohgaki <yohgaki@php.net>2002-03-29 01:19:02 +0000
committerYasuo Ohgaki <yohgaki@php.net>2002-03-29 01:19:02 +0000
commit266ba32b3c916a394490c0858f4418ab12979270 (patch)
treea15f012fea86b6949ea37f51f29703b40d75f13c /main/user_streams.c
parentadc0b5741e0621c2a2944272927c4dbe0dd40076 (diff)
downloadphp-git-266ba32b3c916a394490c0858f4418ab12979270.tar.gz
Fix ZE2 build.
Diffstat (limited to 'main/user_streams.c')
-rw-r--r--main/user_streams.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/user_streams.c b/main/user_streams.c
index fe81d7c10f..4aed5d99ac 100644
--- a/main/user_streams.c
+++ b/main/user_streams.c
@@ -221,7 +221,7 @@ PHP_FUNCTION(file_register_wrapper)
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) {