From e08fdff54b6987a6eb46b16ef638b9687edb073e Mon Sep 17 00:00:00 2001 From: Jonathan Lai Date: Fri, 30 Sep 2022 15:36:07 -0400 Subject: [PATCH] added napi exception flag --- binding.gyp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/binding.gyp b/binding.gyp index 10b4b9d..7dc7e88 100644 --- a/binding.gyp +++ b/binding.gyp @@ -38,10 +38,11 @@ 'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden } }], - ['OS=="zos" and NODE_VERSION < 16',{ + ['OS=="zos" and NODE_VERSION < 17',{ 'cflags': [ '-qascii', ], + "defines": [ "NAPI_DISABLE_CPP_EXCEPTIONS" ], }], ], },