exlcude the port from hostname
[m6w6/ext-http] / php_http_api.h
index 2334404f31f7b1aea20caf43b67ffc1ba3b2491e..72ebf4dc49ebd8cf9113dd71b08bc08d25c7e39a 100644 (file)
@@ -50,6 +50,10 @@ typedef int STATUS;
 #      define PHP_HTTP_HAVE_HASH
 #endif
 
+#if (defined(HAVE_JSON) || defined(PHP_HTTP_HAVE_EXT_JSON)) && (PHP_HTTP_SHARED_DEPS || !defined(COMPILE_DL_JSON))
+#      define PHP_HTTP_HAVE_JSON
+#endif
+
 #ifdef PHP_WIN32
 #      define CURL_STATICLIB
 #      define PHP_HTTP_HAVE_NETDB