Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Jan 23, 2012
1 parent f5e742b commit 6c0c00a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/node.h
Expand Up @@ -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.
Expand Down

0 comments on commit 6c0c00a

Please sign in to comment.