Fix for compilation on Strawberry Perl with C++11 enabled.

This commit is contained in:
bubnikv 2016-11-16 13:06:51 +01:00 committed by Alessandro Ranellucci
parent 3a87ed9de9
commit 731fa437ba

View File

@ -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 <xsinit.h>, which cause compilation errors on Win32
#undef send
#undef connect
#undef bind
#endif /* _MSC_VER */
}
#endif