fix windows build

pull/22966/head
Igor Zinkovsky 2012-01-23 01:30:56 -08:00
parent f5e742b264
commit 6c0c00a205
1 changed files with 4 additions and 0 deletions

View File

@ -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.