add check for C++17 constexpr if
This commit is contained in:
parent
81018c21fd
commit
1e551f4e55
@ -199,6 +199,11 @@
|
|||||||
# define _enable_std_clamp
|
# define _enable_std_clamp
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#undef _nana_cxx_constexpr_if
|
||||||
|
#if (defined(_MSC_VER) && (_MSC_VER >= 1912) && defined(_MSVC_LANG) && _MSVC_LANG>= 201703)
|
||||||
|
# define _nana_cxx_constexpr_if
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if defined(NANA_WINDOWS)
|
#if defined(NANA_WINDOWS)
|
||||||
#ifndef _UNICODE
|
#ifndef _UNICODE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user