Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2022-04-08 14:47:45 +0300
committertamasmeszaros <meszaros.q@gmail.com>2022-04-08 14:47:45 +0300
commitf1276332baa0f4a043ea389f6e0517a98fa883cb (patch)
tree3a91aeec9bfa05311405dde38be122ed19707902
parent5004897c2d500c8ac6d6232e571aa584483e6d5d (diff)
Fix compilation of perl xs on Windows with boost 1.78dev
-rw-r--r--xs/src/xsinit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xs/src/xsinit.h b/xs/src/xsinit.h
index cbb55077b..19e25c54d 100644
--- a/xs/src/xsinit.h
+++ b/xs/src/xsinit.h
@@ -70,6 +70,7 @@
#undef fclose
#undef sleep
#undef snprintf
+ #undef vsnprintf
#undef strerror
#undef test
#undef times
@@ -84,6 +85,7 @@
#undef select
// Because of TBB
+ #undef _WIN32_WINNT // To avoid compiler warnings
#define _WIN32_WINNT 0x0502
#endif /* _MSC_VER */
#undef Zero