We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 433b304 commit bf86827Copy full SHA for bf86827
binding.gyp
@@ -2,7 +2,17 @@
2
"targets": [
3
{
4
"target_name": "stack-trace",
5
- "sources": [ "module.cc" ]
+ "sources": [ "module.cc" ],
6
+ "conditions": [
7
+ ["OS=='win'", {
8
+ "defines": [
9
+ "WIN32_LEAN_AND_MEAN"
10
+ ],
11
+ "libraries": [
12
+ "Mincore.lib"
13
+ ]
14
+ }]
15
16
}
17
]
18
module.cc
@@ -5,7 +5,6 @@
// Platform-specific includes for time functions
#ifdef _WIN32
-#include <realtimeapiset.h>
#include <windows.h>
#elif defined(__APPLE__)
#include <time.h>
0 commit comments