Fixed #55 VC14 Windows build
authorJan-E <github@ehrhardt.nl>
Wed, 5 Oct 2016 21:55:49 +0000 (23:55 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Oct 2016 21:55:49 +0000 (23:55 +0200)
Fix for https://github.com/m6w6/ext-http/issues/55

config.w32

index 7b6366499d94b49b833061a719d7fe9a70f55c25..859a18c0a75e487a742c9ccdcd5fbbf2916883b4 100644 (file)
@@ -103,7 +103,7 @@ if (PHP_HTTP != "no") {
                        ADD_EXTENSION_DEP("http", "propro", true) &&
                        ADD_EXTENSION_DEP("http", "raphf", true) &&
                        CHECK_LIB("winmm.lib", "http", PHP_HTTP)) {
-               AC_DEFINE("PHP_HTTP_HAVE_CURL", 1, "Have CURL library");
+               AC_DEFINE("PHP_HTTP_HAVE_LIBCURL", 1, "Have CURL library");
                AC_DEFINE("PHP_HTTP_HAVE_SSL", 1, "Have SSL");
                AC_DEFINE("PHP_HAVE_CURL_MULTI_STRERROR", 1, "");
                AC_DEFINE("PHP_HAVE_CURL_SHARE_STRERROR", 1, "");