From 731fa437baf72c14549436ed73f2dc91a191a92f Mon Sep 17 00:00:00 2001 From: bubnikv Date: Wed, 16 Nov 2016 13:06:51 +0100 Subject: [PATCH] Fix for compilation on Strawberry Perl with C++11 enabled. --- xs/src/xsinit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xs/src/xsinit.h b/xs/src/xsinit.h index 9475a9e27..37424384b 100644 --- a/xs/src/xsinit.h +++ b/xs/src/xsinit.h @@ -41,11 +41,11 @@ extern "C" { #include "ppport.h" #undef do_open #undef do_close +#undef bind #ifdef _MSC_VER // Undef some of the macros set by Perl , which cause compilation errors on Win32 #undef send #undef connect - #undef bind #endif /* _MSC_VER */ } #endif