mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
compat.h: Add EDUKE32_MSVC_CXX_PREREQ().
It is necessary for testing C++11 functionality because Visual Studio never defines __cplusplus to be 201112L. git-svn-id: https://svn.eduke32.com/eduke32@6469 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
7c2f233450
commit
8ff6d59688
1 changed files with 6 additions and 0 deletions
|
@ -36,8 +36,14 @@
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# define EDUKE32_MSVC_PREREQ(major) ((major) <= (_MSC_VER))
|
# define EDUKE32_MSVC_PREREQ(major) ((major) <= (_MSC_VER))
|
||||||
|
# ifdef __cplusplus
|
||||||
|
# define EDUKE32_MSVC_CXX_PREREQ(major) ((major) <= (_MSC_VER))
|
||||||
|
# else
|
||||||
|
# define EDUKE32_MSVC_CXX_PREREQ(major) 0
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
# define EDUKE32_MSVC_PREREQ(major) 0
|
# define EDUKE32_MSVC_PREREQ(major) 0
|
||||||
|
# define EDUKE32_MSVC_CXX_PREREQ(major) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue