mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
fix windows build
This commit is contained in:
@@ -66,6 +66,10 @@
|
||||
|
||||
#include <node_object_wrap.h>
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#undef interface
|
||||
#endif
|
||||
|
||||
#ifndef offset_of
|
||||
// g++ in strict mode complains loudly about the system offsetof() macro
|
||||
// because it uses NULL as the base address.
|
||||
|
||||
Reference in New Issue
Block a user