wez             Mon Dec  9 13:25:37 2002 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/curl      curlstreams.c 
  Log:
  No need to compile this code if curl streams are not enabled, which they
  cannot be in 4.3 (configure option is disabled and they don't work yet anyway).
  
  
Index: php4/ext/curl/curlstreams.c
diff -u php4/ext/curl/curlstreams.c:1.2 php4/ext/curl/curlstreams.c:1.2.2.1
--- php4/ext/curl/curlstreams.c:1.2     Sun Sep 22 21:47:00 2002
+++ php4/ext/curl/curlstreams.c Mon Dec  9 13:25:37 2002
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: curlstreams.c,v 1.2 2002/09/23 01:47:00 wez Exp $ */
+/* $Id: curlstreams.c,v 1.2.2.1 2002/12/09 18:25:37 wez Exp $ */
 
 /* This file implements cURL based wrappers.
  * NOTE: If you are implementing your own streams that are intended to
@@ -30,7 +30,7 @@
 #include "php.h"
 #include "php_memory_streams.h"
 
-#if HAVE_CURL
+#if HAVE_CURL && defined(PHP_CURL_URL_WRAPPERS)
 
 #include <stdio.h>
 #include <string.h>



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to