From 0eda17ba20a9b0aa2b354cd9df797ad28955df1f Mon Sep 17 00:00:00 2001 From: SRAVANI GUNDEPALLI <88590399+sravani1510@users.noreply.github.com> Date: Thu, 2 Oct 2025 22:27:48 +0530 Subject: [PATCH] build: fix flags for ngtcp2 on IBM i PR-URL: https://github.com/nodejs/node/pull/60073 Reviewed-By: Richard Lau Reviewed-By: Luigi Pinca Reviewed-By: Abdirahim Musse Reviewed-By: Colin Ihrig --- 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 91e3a68bdd..098663a4dd 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" 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.