Perl crazy macros strike again, they collide with boost threads.

This commit is contained in:
bubnikv 2016-12-12 18:55:04 +01:00
parent 46b44fc141
commit e5b77e08de

View file

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