Browse Source

Alias _snprintf to snprintf, fix Windows build.

v0.9.1-release
Ben Noordhuis 13 years ago
parent
commit
bc834c395b
  1. 4
      src/node_internals.h

4
src/node_internals.h

@ -26,6 +26,10 @@
namespace node { namespace node {
#ifdef _WIN32
# define snprintf _snprintf
#endif
#ifndef offset_of #ifndef offset_of
// g++ in strict mode complains loudly about the system offsetof() macro // g++ in strict mode complains loudly about the system offsetof() macro
// because it uses NULL as the base address. // because it uses NULL as the base address.

Loading…
Cancel
Save