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:
authorbubnikv <bubnikv@gmail.com>2017-10-17 19:41:54 +0300
committerbubnikv <bubnikv@gmail.com>2017-10-17 19:41:54 +0300
commit9a7d1bb5662f5a4eb156d50ae37951be71283102 (patch)
tree9595819159b67f7822c7a3a7ff6d13273722f532 /xs/src/libslic3r/libslic3r.h
parentde2c6a2a3dbf4f19da7e27c78a673e92b9872075 (diff)
Another compilation fix.
Diffstat (limited to 'xs/src/libslic3r/libslic3r.h')
-rw-r--r--xs/src/libslic3r/libslic3r.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/xs/src/libslic3r/libslic3r.h b/xs/src/libslic3r/libslic3r.h
index 4a68b030d..e70113710 100644
--- a/xs/src/libslic3r/libslic3r.h
+++ b/xs/src/libslic3r/libslic3r.h
@@ -92,6 +92,11 @@ inline std::string debug_out_path(const char *name, ...)
#define UNUSED(x) (void)(x)
#endif /* UNUSED */
+// Detect whether the compiler supports C++11 noexcept exception specifications.
+#if defined(_MSC_VER) && _MSC_VER < 1900
+ #define noexcept throw()
+#endif
+
// Write slices as SVG images into out directory during the 2D processing of the slices.
// #define SLIC3R_DEBUG_SLICE_PROCESSING