Alias _snprintf to snprintf, fix Windows build.
This commit is contained in:
parent
2726c22f0b
commit
bc834c395b
@ -26,6 +26,10 @@
|
||||
|
||||
namespace node {
|
||||
|
||||
#ifdef _WIN32
|
||||
# define snprintf _snprintf
|
||||
#endif
|
||||
|
||||
#ifndef offset_of
|
||||
// g++ in strict mode complains loudly about the system offsetof() macro
|
||||
// because it uses NULL as the base address.
|
||||
|
Loading…
x
Reference in New Issue
Block a user