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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xs/src/xsinit.h')
-rw-r--r--xs/src/xsinit.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/xs/src/xsinit.h b/xs/src/xsinit.h
index e36376bd1..506ef0a0b 100644
--- a/xs/src/xsinit.h
+++ b/xs/src/xsinit.h
@@ -37,7 +37,7 @@
#include <ostream>
#include <iostream>
#include <sstream>
-#include <libslic3r.h>
+// #include <libslic3r.h>
#ifdef SLIC3RXS
extern "C" {
@@ -68,12 +68,19 @@ extern "C" {
#undef fputc
#undef fwrite
#undef fclose
+ #undef sleep
+ #undef test
+ #undef accept
+ #undef wait
// Breaks compilation with Eigen matrices embedded into Slic3r::Point.
#undef malloc
#undef realloc
#undef free
#undef select
+
+ // Because of TBB
+ #define _WIN32_WINNT 0x0502
#endif /* _MSC_VER */
#undef Zero
#undef Packet