Skip to content

Commit 01736bb

Browse files
author
lsl
committed
fix build errors under Node.js 23 and macOS
1 parent 76995a6 commit 01736bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node/global.gypi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"OS==\"linux\"",
1212
{
1313
"cflags": [
14-
"-std=c++17"
14+
"-std=c++20"
1515
],
1616
"cflags!": [
1717
"-fno-exceptions"
@@ -28,7 +28,7 @@
2828
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
2929
"MACOSX_DEPLOYMENT_TARGET": "10.7",
3030
"OTHER_CPLUSPLUSFLAGS": [
31-
"-std=c++17",
31+
"-std=c++20",
3232
"-stdlib=libc++"
3333
],
3434
"OTHER_LDFLAGS": [

0 commit comments

Comments
 (0)