Skip to content

Commit

Permalink
add define
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed Nov 27, 2014
1 parent e8670d5 commit 801c410
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'-lcurl'
],
"defines": [
"LINUX_DEFINE"
"LINUX_DEFINE", "OS_LINUX"
],
"include_dirs": [
"include/linux"
Expand All @@ -32,7 +32,7 @@
'-lcurl'
],
"defines": [
"LINUX_DEFINE"
"LINUX_DEFINE", "OS_LINUX"
],
"include_dirs": [
"include/linux"
Expand All @@ -48,12 +48,24 @@
'/usr/lib/libcurl.dylib'
],
"defines": [
"LINUX_DEFINE"
"LINUX_DEFINE", "OS_LINUX"
],
"include_dirs": [
"include/linux"
]
}
],
['OS=="win"', {
"cflags": ["-std=c++11"],
"type": "static_library",
"libraries": [
],
"defines": [
"OS_WIN"
],
"include_dirs": [
]
}
]

]
Expand Down

0 comments on commit 801c410

Please sign in to comment.