mirror of https://github.com/nodejs/node.git
parent
114bff467e
commit
eaf76648a6
|
@ -61,6 +61,14 @@
|
||||||
#include "v8.h" // NOLINT(build/include_order)
|
#include "v8.h" // NOLINT(build/include_order)
|
||||||
#include "node_version.h" // NODE_MODULE_VERSION
|
#include "node_version.h" // NODE_MODULE_VERSION
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
# include <BaseTsd.h>
|
||||||
|
typedef SSIZE_T ssize_t;
|
||||||
|
typedef SIZE_T size_t;
|
||||||
|
#else // !_WIN32
|
||||||
|
# include <sys/types.h> // size_t, ssize_t
|
||||||
|
#endif // _WIN32
|
||||||
|
|
||||||
// Forward-declare these functions now to stop MSVS from becoming
|
// Forward-declare these functions now to stop MSVS from becoming
|
||||||
// terminally confused when it's done in node_internals.h
|
// terminally confused when it's done in node_internals.h
|
||||||
namespace node {
|
namespace node {
|
||||||
|
|
Loading…
Reference in New Issue