- move some cruft of http_request_api.c to php_http_request_int.h
[m6w6/ext-http] / http_request_object.c
index 40e36bc61586bdd986fe959e6bc16944958688e6..7b15faa42c2b7155845ee47fa158650dac602f4e 100644 (file)
@@ -325,7 +325,7 @@ zend_function_entry http_request_object_fe[] = {
        HTTP_REQUEST_ALIAS(methodUnregister, http_request_method_unregister)
        HTTP_REQUEST_ALIAS(methodName, http_request_method_name)
        HTTP_REQUEST_ALIAS(methodExists, http_request_method_exists)
-#if HAVE_CURL_GETFORMDATA
+#ifdef HAVE_CURL_GETFORMDATA
        HTTP_REQUEST_ALIAS(encodeBody, http_request_body_encode)
 #endif
        EMPTY_FUNCTION_ENTRY