Skip to content

Commit 6c0c00a

Browse files
author
Igor Zinkovsky
committed
fix windows build
1 parent f5e742b commit 6c0c00a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/node.h

+4
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666

6767
#include <node_object_wrap.h>
6868

69+
#if defined(_MSC_VER)
70+
#undef interface
71+
#endif
72+
6973
#ifndef offset_of
7074
// g++ in strict mode complains loudly about the system offsetof() macro
7175
// because it uses NULL as the base address.

0 commit comments

Comments
 (0)