]> granicus.if.org Git - php/commitdiff
Fix ZE2 build.
authorYasuo Ohgaki <yohgaki@php.net>
Fri, 29 Mar 2002 01:19:02 +0000 (01:19 +0000)
committerYasuo Ohgaki <yohgaki@php.net>
Fri, 29 Mar 2002 01:19:02 +0000 (01:19 +0000)
main/user_streams.c

index fe81d7c10f231202c68763271ee7797156a635c4..4aed5d99ac1332c1c92f10da46e4765253bb65f0 100644 (file)
@@ -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) {