X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http_functions.c;h=0462c3b760b24aea0b31bd10ac51dea9e5f050a8;hp=adb44d2bb40671551bef04900554915dc12387c5;hb=50343c32560e80c491911b107fab8217a35850eb;hpb=3fcfaba41748c3fd452e84ba6da6ea2d91f28e5e diff --git a/http_functions.c b/http_functions.c index adb44d2..0462c3b 100644 --- a/http_functions.c +++ b/http_functions.c @@ -1670,6 +1670,7 @@ PHP_FUNCTION(http_request) } /* }}} */ +#ifdef HAVE_CURL_GETFORMDATA static char *file_get_contents(char *file, size_t *len TSRMLS_DC) { php_stream *s = NULL; @@ -1763,6 +1764,7 @@ PHP_FUNCTION(http_request_body_encode) break; } } +#endif /* HAVE_CURL_GETFORMDATA */ #endif /* HTTP_HAVE_CURL */ /* }}} HAVE_CURL */