Skip to content

Commit 6cc51fe

Browse files
authored
ext/curl: Use CHECK_HEADER (#22106)
CHECK_HEADER() doesn't define redundant compile definitions. See f17c5ad
1 parent eeb12a4 commit 6cc51fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ext/curl/config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if (PHP_CURL != "no") {
1414
CHECK_LIB("libssh2.lib", "curl", PHP_CURL) &&
1515
CHECK_LIB("nghttp2.lib", "curl", PHP_CURL))
1616
) {
17-
if (!(CHECK_HEADER_ADD_INCLUDE("brotli/decode.h", "CFLAGS_CURL") &&
17+
if (!(CHECK_HEADER("brotli/decode.h", "CFLAGS_CURL") &&
1818
CHECK_LIB("brotlidec.lib;brotlidec-static.lib", "curl", PHP_CURL) &&
1919
CHECK_LIB("brotlicommon.lib;brotlicommon-static.lib", "curl", PHP_CURL)
2020
)) {

0 commit comments

Comments
 (0)