Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.3.7
Fetching contributors…

Cannot retrieve contributors at this time

52 lines (36 sloc) 0.832 kb
#ifndef NODE_PLATFORM_WIN32_H_
#define NODE_PLATFORM_WIN32_H_
// Require at least Windows XP SP1
// (GetProcessId requires it)
#ifndef _WIN32_WINNT
# define _WIN32_WINNT 0x0501
#endif
#ifndef WIN32_LEAN_AND_MEAN
# define WIN32_LEAN_AND_MEAN // implies NOCRYPT and NOGDI.
#endif
#ifndef NOMINMAX
# define NOMINMAX
#endif
#ifndef NOKERNEL
# define NOKERNEL
#endif
#ifndef NOUSER
# define NOUSER
#endif
#ifndef NOSERVICE
# define NOSERVICE
#endif
#ifndef NOSOUND
# define NOSOUND
#endif
#ifndef NOMCX
# define NOMCX
#endif
#include <windows.h>
namespace node {
#define NO_IMPL_MSG(name...) \
fprintf(stderr, "Not implemented: %s\n", #name);
const char *winapi_strerror(const int errorno);
void winapi_perror(const char* prefix);
}
#endif // NODE_PLATFORM_WIN32_H_
Jump to Line
Something went wrong with that request. Please try again.