Perl crazy macros strike again, they collide with boost threads.
This commit is contained in:
parent
46b44fc141
commit
e5b77e08de
1 changed files with 5 additions and 1 deletions
|
@ -43,10 +43,14 @@ extern "C" {
|
||||||
#undef do_close
|
#undef do_close
|
||||||
#undef bind
|
#undef bind
|
||||||
#undef seed
|
#undef seed
|
||||||
|
#undef push
|
||||||
|
#undef pop
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
// Undef some of the macros set by Perl <xsinit.h>, which cause compilation errors on Win32
|
// Undef some of the macros set by Perl <xsinit.h>, which cause compilation errors on Win32
|
||||||
#undef send
|
|
||||||
#undef connect
|
#undef connect
|
||||||
|
#undef seek
|
||||||
|
#undef send
|
||||||
|
#undef write
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue