From 742ea9d0a1e450515739d077353da6ae9b42bd86 Mon Sep 17 00:00:00 2001 From: Patrick McMorris Date: Mon, 20 Oct 2014 22:06:27 -0700 Subject: [PATCH] Fix clang version detection --- glm/detail/setup.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 06329355..20d4357e 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -226,7 +226,7 @@ // Clang #elif defined(__clang__) -# if GLM_PLATFORM & GLM_COMPILER_APPLE_CLANG +# if GLM_PLATFORM & GLM_PLATFORM_APPLE # if __clang_major__ == 4 && __clang_minor__ == 0 # define GLM_COMPILER GLM_COMPILER_APPLE_CLANG40 # elif __clang_major__ == 4 && __clang_minor__ == 1 @@ -240,7 +240,7 @@ # elif __clang_major__ >= 6 # define GLM_COMPILER GLM_COMPILER_APPLE_CLANG60 # endif -# elif GLM_PLATFORM & GLM_COMPILER_LLVM +# elif GLM_PLATFORM & GLM_PLATFORM_LINUX # if __clang_major__ == 3 && __clang_minor__ == 0 # define GLM_COMPILER GLM_COMPILER_LLVM30 # elif __clang_major__ == 3 && __clang_minor__ == 1