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 8488b84 commit 5fc0201Copy full SHA for 5fc0201
atom/node/osfhandle.h
@@ -7,8 +7,6 @@
7
8
#include <windows.h>
9
10
-#include "node_extern.h"
11
-
12
namespace node {
13
14
// The _open_osfhandle and _close functions on Windows are provided by the
@@ -20,8 +18,8 @@ namespace node {
20
18
// we always create fd in one instance of VC++ library.
21
19
// Followings wrappers are compiled in node.dll, and all code in electron.exe
22
// should call these wrappers instead of calling _open_osfhandle directly.
23
-NODE_EXTERN int open_osfhandle(intptr_t osfhandle, int flags);
24
-NODE_EXTERN int close(int fd);
+__declspec(dllexport) int open_osfhandle(intptr_t osfhandle, int flags);
+__declspec(dllexport) int close(int fd);
25
26
} // namespace node
27
0 commit comments