Fixed Clang version detection from source #608

This commit is contained in:
Christophe Riccio
2017-02-16 01:07:16 +01:00
parent 5dcc56489e
commit 8d3bc422e1
3 changed files with 7 additions and 3 deletions

View File

@@ -177,7 +177,7 @@
// Clang
#elif defined(__clang__)
# if GLM_PLATFORM & GLM_PLATFORM_APPLE
# if defined(__apple_build_version__)
# if __clang_major__ == 5 && __clang_minor__ == 0
# define GLM_COMPILER GLM_COMPILER_CLANG33
# elif __clang_major__ == 5 && __clang_minor__ == 1