Changed an #if to #ifdef

0.8
Bruno Van de Velde 2017-09-13 19:26:38 +02:00
parent 756f8e3540
commit 20193194c3
1 changed files with 2 additions and 2 deletions

View File

@ -93,13 +93,13 @@
#endif
// Enable constexpr when using Clang or at least GCC 5 or MSVC++ 14.1 (VS2017)
#if _MSC_VER
#if defined(_MSC_VER)
#if _MSC_VER >= 1910
#define TGUI_CONSTEXPR constexpr
#else
#define TGUI_CONSTEXPR
#endif
#elif __GNUC__
#elif defined(__GNUC__)
#if __cpp_constexpr >= 201304
#define TGUI_CONSTEXPR constexpr
#else