Fix missing of symbols issue on Release build

This commit is contained in:
Cheng Zhao 2017-01-27 18:51:20 +09:00 committed by Kevin Sawicki
parent 41f356a94d
commit 82d796ded4
5 changed files with 23 additions and 3 deletions

View file

@ -21,6 +21,9 @@ namespace node {
__declspec(dllexport) int open_osfhandle(intptr_t osfhandle, int flags);
__declspec(dllexport) int close(int fd);
// A trick to force referencing symbols.
__declspec(dllexport) void ReferenceSymbols();
} // namespace node
#endif // ATOM_NODE_OSFHANDLE_H_