]> granicus.if.org Git - php/commitdiff
No need to compile this code if curl streams are not enabled, which they
authorWez Furlong <wez@php.net>
Mon, 9 Dec 2002 18:25:37 +0000 (18:25 +0000)
committerWez Furlong <wez@php.net>
Mon, 9 Dec 2002 18:25:37 +0000 (18:25 +0000)
cannot be in 4.3 (configure option is disabled and they don't work yet anyway).

ext/curl/curlstreams.c

index eaee95409dad498059087d18f393a3331d164bbe..6117f22400dbfe46010c34c01772a4d68c4b39f1 100644 (file)
@@ -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>