diff --git a/3party/glm/glm/detail/setup.hpp b/3party/glm/glm/detail/setup.hpp index c982c469fe..7f5d810f17 100755 --- a/3party/glm/glm/detail/setup.hpp +++ b/3party/glm/glm/detail/setup.hpp @@ -771,6 +771,12 @@ namespace glm #if GLM_HAS_CONSTEXPR # define GLM_CONSTEXPR constexpr +// TODO(artyom): LowPriority. constexpr doesn't work in MSVC <= 18.00. Maybe some other nice workaround? +# ifdef _MSC_VER +# if _MSC_VER <= 1800 +# define GLM_CONSTEXPR +# endif +# endif #else # define GLM_CONSTEXPR #endif