- request pools for ZE2 only yet
authorMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 10:44:06 +0000 (10:44 +0000)
committerMichael Wallner <mike@php.net>
Tue, 14 Jun 2005 10:44:06 +0000 (10:44 +0000)
http_request_api.c

index 79bc3663063682e8d4f6ad16a263f5d7d2111354..722e0b5a3ddd8b7e46d8eaeac0aed20deb757cb6 100644 (file)
@@ -819,7 +819,7 @@ PHP_HTTP_API STATUS _http_request_method_unregister(unsigned long method TSRMLS_
 }
 /* }}} */
 
-
+#ifdef ZEND_ENGINE_2
 /* {{{ http_request_pool *http_request_pool_init(http_request_pool *) */
 PHP_HTTP_API http_request_pool *_http_request_pool_init(http_request_pool *pool TSRMLS_DC)
 {
@@ -1010,6 +1010,7 @@ static void http_request_pool_freehandle(zval **request, http_request_pool *pool
 #endif
 }
 /* }}} */
+#endif /* ZEND_ENGINE_2 */
 
 /* {{{ char *http_request_methods[] */
 static const char *const http_request_methods[] = {