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