- simplify
[m6w6/ext-http] / php_http_filter_api.h
index d6783d8f5fb079c5aa1527804956f068db6efe8c..037a0ee8ab6bcaca75fe8d7ba1d137af4127a1ee 100644 (file)
@@ -6,7 +6,7 @@
     | modification, are permitted provided that the conditions mentioned |
     | in the accompanying LICENSE file are met.                          |
     +--------------------------------------------------------------------+
-    | Copyright (c) 2004-2005, Michael Wallner <mike@php.net>            |
+    | Copyright (c) 2004-2006, Michael Wallner <mike@php.net>            |
     +--------------------------------------------------------------------+
 */
 
 #ifndef PHP_HTTP_FILTER_API_H
 #define PHP_HTTP_FILTER_API_H
 
-php_stream_filter_factory http_filter_factory;
+#ifdef ZEND_ENGINE_2
+extern php_stream_filter_factory http_filter_factory;
 PHP_MINIT_FUNCTION(http_filter);
+#endif
 
 #endif