Removed obsolete io.h wrappers, included atlbase.h in atom_main.cc

This commit is contained in:
Ales Pergl 2017-08-30 10:28:45 +02:00
parent cc666c727f
commit 64d9e5b861
4 changed files with 4 additions and 27 deletions

View file

@ -4,8 +4,6 @@
#include "osfhandle.h"
#include <io.h>
#if !defined(DEBUG)
#define U_I18N_IMPLEMENTATION
#define U_COMMON_IMPLEMENTATION
@ -32,14 +30,6 @@
namespace node {
int open_osfhandle(intptr_t osfhandle, int flags) {
return _open_osfhandle(osfhandle, flags);
}
int close(int fd) {
return _close(fd);
}
void ReferenceSymbols() {
// Following symbols are used by electron.exe but got stripped by compiler,
// by using the symbols we can force compiler to keep the objects in node.dll,