mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 17:45:55 +08:00
Fix for compilation on Strawberry Perl with C++11 enabled.
This commit is contained in:
parent
68e9ec0d41
commit
1589ffb224
@ -40,11 +40,11 @@ extern "C" {
|
|||||||
#include "ppport.h"
|
#include "ppport.h"
|
||||||
#undef do_open
|
#undef do_open
|
||||||
#undef do_close
|
#undef do_close
|
||||||
|
#undef bind
|
||||||
#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 send
|
||||||
#undef connect
|
#undef connect
|
||||||
#undef bind
|
|
||||||
#endif /* _MSC_VER */
|
#endif /* _MSC_VER */
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user