From e5b77e08de61a6cceeace813d27dc0a25852b0ae Mon Sep 17 00:00:00 2001 From: bubnikv Date: Mon, 12 Dec 2016 18:55:04 +0100 Subject: [PATCH] Perl crazy macros strike again, they collide with boost threads. --- xs/src/xsinit.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/xs/src/xsinit.h b/xs/src/xsinit.h index eafdf1522..79abc2f54 100644 --- a/xs/src/xsinit.h +++ b/xs/src/xsinit.h @@ -43,10 +43,14 @@ extern "C" { #undef do_close #undef bind #undef seed +#undef push +#undef pop #ifdef _MSC_VER // Undef some of the macros set by Perl , which cause compilation errors on Win32 - #undef send #undef connect + #undef seek + #undef send + #undef write #endif /* _MSC_VER */ } #endif