From 139a626264094ef35bd12a1aadd69d57bc0dc5ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Tue, 9 Jan 2024 10:53:05 +0100 Subject: [PATCH] deps: compile c-ares with C11 support MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This should get rid of the following GCC warning: ISO C90 does not support ‘long long’ [-Wlong-long] PR-URL: https://github.com/nodejs/node/pull/51410 Reviewed-By: Jiawen Geng Reviewed-By: Luigi Pinca Reviewed-By: Richard Lau --- deps/cares/cares.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/cares/cares.gyp b/deps/cares/cares.gyp index 587cf7f3d626d5..6963a1c9479f29 100644 --- a/deps/cares/cares.gyp +++ b/deps/cares/cares.gyp @@ -181,7 +181,7 @@ }], [ 'OS not in "win android"', { 'cflags': [ - '--std=gnu89' + '--std=gnu11' ], }], [ 'OS=="linux"', {