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>2016-09-12 12:29:39 +0300
committerbubnikv <bubnikv@gmail.com>2016-09-12 12:29:39 +0300
commit9fcc8fe9aeacb8edf6206787574cf1a84c88a5cc (patch)
tree549776f3a63d4eb240d0caaf7a63fa6259dac031 /xs/src/libslic3r/libslic3r.h
parentca98e2655a4a5875947598f404791ea6c0313609 (diff)
parentd022493297a110a9f982786ed696528c1d79d0f1 (diff)
Meged with release_candidate_1_3
Diffstat (limited to 'xs/src/libslic3r/libslic3r.h')
-rw-r--r--xs/src/libslic3r/libslic3r.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/xs/src/libslic3r/libslic3r.h b/xs/src/libslic3r/libslic3r.h
index 168e3f49c..a087455cf 100644
--- a/xs/src/libslic3r/libslic3r.h
+++ b/xs/src/libslic3r/libslic3r.h
@@ -39,4 +39,14 @@ using namespace Slic3r;
void confess_at(const char *file, int line, const char *func, const char *pat, ...);
/* End implementation of CONFESS("foo"): */
+// Which C++ version is supported?
+// For example, could optimized functions with move semantics be used?
+#if __cplusplus==201402L
+ #define SLIC3R_CPPVER 14
+#elif __cplusplus==201103L
+ #define SLIC3R_CPPVER 11
+#else
+ #define SLIC3R_CPPVER 0
+#endif
+
#endif