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 d116291 commit adee653Copy full SHA for adee653
src/node_api.h
@@ -1,7 +1,7 @@
1
#ifndef SRC_NODE_API_H_
2
#define SRC_NODE_API_H_
3
4
-#ifdef BUILDING_NODE_EXTENSION
+#if defined(BUILDING_NODE_EXTENSION) && !defined(NAPI_EXTERN)
5
#ifdef _WIN32
6
// Building native addon against node
7
#define NAPI_EXTERN __declspec(dllimport)
0 commit comments