diff options
author | bubnikv <bubnikv@gmail.com> | 2016-09-12 12:29:39 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-09-12 12:29:39 +0300 |
commit | 9fcc8fe9aeacb8edf6206787574cf1a84c88a5cc (patch) | |
tree | 549776f3a63d4eb240d0caaf7a63fa6259dac031 /xs/src/libslic3r/libslic3r.h | |
parent | ca98e2655a4a5875947598f404791ea6c0313609 (diff) | |
parent | d022493297a110a9f982786ed696528c1d79d0f1 (diff) |
Meged with release_candidate_1_3
Diffstat (limited to 'xs/src/libslic3r/libslic3r.h')
-rw-r--r-- | xs/src/libslic3r/libslic3r.h | 10 |
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 |