Skip to content

Commit 94c34e6

Browse files
committed
fix(NODE-6108): allow building from source on latest Node.js 20.x
See nodejs/node#52229 – addons using certain features of the node-addon-api package have been broken by an upstream Node.js change if they were setting `NAPI_EXPERIMENTAL`, which `kerberos` is doing.
1 parent 4a7c656 commit 94c34e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/kerberos.h

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#define NAPI_VERSION 6
88
// as an experimental feature (that has not been changed since then).
99
#define NAPI_EXPERIMENTAL
10+
#define NODE_API_EXPERIMENTAL_NOGC_ENV_OPT_OUT
1011

1112
#include <napi.h>
1213
#include "kerberos_common.h"

0 commit comments

Comments
 (0)