From 20193194c3bccfc8df7bf5a713a04844ba41610e Mon Sep 17 00:00:00 2001 From: Bruno Van de Velde Date: Wed, 13 Sep 2017 19:26:38 +0200 Subject: [PATCH] Changed an #if to #ifdef --- include/TGUI/Config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/TGUI/Config.hpp b/include/TGUI/Config.hpp index cb9fd7c6..cc58dc1a 100644 --- a/include/TGUI/Config.hpp +++ b/include/TGUI/Config.hpp @@ -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