From 5fc0201ca1faf93de742c8c415b9df647f9bfd93 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 21 Jul 2016 16:36:31 +0900 Subject: [PATCH] There is no node_extern.h anymore --- atom/node/osfhandle.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/atom/node/osfhandle.h b/atom/node/osfhandle.h index 6ebb2ab11e9d..3933236e5091 100644 --- a/atom/node/osfhandle.h +++ b/atom/node/osfhandle.h @@ -7,8 +7,6 @@ #include -#include "node_extern.h" - namespace node { // The _open_osfhandle and _close functions on Windows are provided by the @@ -20,8 +18,8 @@ namespace node { // we always create fd in one instance of VC++ library. // Followings wrappers are compiled in node.dll, and all code in electron.exe // should call these wrappers instead of calling _open_osfhandle directly. -NODE_EXTERN int open_osfhandle(intptr_t osfhandle, int flags); -NODE_EXTERN int close(int fd); +__declspec(dllexport) int open_osfhandle(intptr_t osfhandle, int flags); +__declspec(dllexport) int close(int fd); } // namespace node