Skip to content

Commit

Permalink
fix(win): native compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
stoprocent committed Dec 21, 2024
1 parent dc8330f commit 29cef2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/win/binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
'msvs_target_platform_minversion':'10.0.18362.0',
'conditions': [
['OS=="win"', {
'defines': [ '_HAS_EXCEPTIONS=1' ]
'defines': [ '_HAS_EXCEPTIONS=1', 'NAPI_CPP_EXCEPTIONS' ]
}]
],
}
Expand Down

0 comments on commit 29cef2c

Please sign in to comment.