Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
fix build for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ghlin committed Jan 16, 2019
1 parent 5bb9e30 commit b6c8f52
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
"<!(node -e \"require('nan')\")",
"ygocore/lua"
],
"defines": [
"LUA_USE_LONGJMP=1",
"LUA_USE_POSIX=1"
"defines": [ "LUA_USE_LONGJMP=1" ],
"conditions": [
["OS=='linux'", { "defines": [ "LUA_USE_POSIX=1" ] } ],
["OS=='mac'", { "defines": [ "LUA_USE_POSIX=1" ] } ]
],
"sources": [
"ygocore/main.cc",
Expand Down

0 comments on commit b6c8f52

Please sign in to comment.