Skip to content

Commit

Permalink
fix build errors under Node.js 23 and macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
lsl authored and BYVoid committed Nov 5, 2024
1 parent 1a82f20 commit 71cb906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/global.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"OS==\"linux\"",
{
"cflags": [
"-std=c++17"
"-std=c++20"
],
"cflags!": [
"-fno-exceptions"
Expand All @@ -28,7 +28,7 @@
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
"MACOSX_DEPLOYMENT_TARGET": "10.7",
"OTHER_CPLUSPLUSFLAGS": [
"-std=c++17",
"-std=c++20",
"-stdlib=libc++"
],
"OTHER_LDFLAGS": [
Expand Down

0 comments on commit 71cb906

Please sign in to comment.