mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 06:32:37 +00:00
compat.h: Add detection of C++17.
git-svn-id: https://svn.eduke32.com/eduke32@6468 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
32d3ca1591
commit
7c2f233450
1 changed files with 3 additions and 1 deletions
|
@ -57,7 +57,9 @@
|
||||||
# define CSTD 0
|
# define CSTD 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined __cplusplus && __cplusplus >= 201402L
|
#if defined __cplusplus && __cplusplus >= 201703L
|
||||||
|
# define CXXSTD 2017
|
||||||
|
#elif defined __cplusplus && __cplusplus >= 201402L
|
||||||
# define CXXSTD 2014
|
# define CXXSTD 2014
|
||||||
#elif defined __cplusplus && __cplusplus >= 201103L
|
#elif defined __cplusplus && __cplusplus >= 201103L
|
||||||
# define CXXSTD 2011
|
# define CXXSTD 2011
|
||||||
|
|
Loading…
Reference in a new issue