Removed obsolete io.h
wrappers, included atlbase.h
in atom_main.cc
This commit is contained in:
parent
cc666c727f
commit
64d9e5b861
4 changed files with 4 additions and 27 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue