From a1d62fa99a810f4cb5c24fc6f2609950e7d61ec3 Mon Sep 17 00:00:00 2001 From: sravani1510 Date: Tue, 30 Sep 2025 22:19:11 +0530 Subject: [PATCH 1/2] build: fix flags for ngtcp2 on IBM i --- deps/ngtcp2/ngtcp2.gyp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deps/ngtcp2/ngtcp2.gyp b/deps/ngtcp2/ngtcp2.gyp index 91e3a68bdd1aa2..c986abc9f98a19 100644 --- a/deps/ngtcp2/ngtcp2.gyp +++ b/deps/ngtcp2/ngtcp2.gyp @@ -272,7 +272,7 @@ 'HAVE_NETINET_IP_H', ], 'conditions': [ - ['OS=="aix" or OS=="win"', { + ['OS=="aix" or OS=="win" or OS=="os400"', { # AIX does not support some of the networking features used in # the test server. Windows also lacks the Unix-specific headers # and system calls required by the ngtcp2 examples. @@ -330,7 +330,7 @@ 'HAVE_NETINET_IP_H', ], 'conditions': [ - ['OS=="aix" or OS=="win"', { + ['OS=="aix" or OS=="win" OS=="os400"', { # AIX does not support some of the networking features used in # the test client. Windows also lacks the Unix-specific headers # and system calls required by the ngtcp2 examples. From 2ea850a1e5533a9a77bcf8a333d820192ce60c95 Mon Sep 17 00:00:00 2001 From: sravani1510 Date: Tue, 30 Sep 2025 22:35:12 +0530 Subject: [PATCH 2/2] build: fixup! fix flags for ngtcp2 on IBM i --- deps/ngtcp2/ngtcp2.gyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ngtcp2/ngtcp2.gyp b/deps/ngtcp2/ngtcp2.gyp index c986abc9f98a19..098663a4dde6fc 100644 --- a/deps/ngtcp2/ngtcp2.gyp +++ b/deps/ngtcp2/ngtcp2.gyp @@ -330,7 +330,7 @@ 'HAVE_NETINET_IP_H', ], 'conditions': [ - ['OS=="aix" or OS=="win" OS=="os400"', { + ['OS=="aix" or OS=="win" or OS=="os400"', { # AIX does not support some of the networking features used in # the test client. Windows also lacks the Unix-specific headers # and system calls required by the ngtcp2 examples.