cvs: php4(PHP_4_3) /ext/curl curlstreams.c
| From: | Wez Furlong | Date: | Mon, 09 Dec 2002 18:25:37 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/curl curlstreams.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17042@lists.php.net to get a copy of this message | ||
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>