mirror of
https://github.com/g-truc/glm.git
synced 2024-11-16 06:44:35 +00:00
Fix clang version detection
This commit is contained in:
parent
679c765a07
commit
742ea9d0a1
@ -226,7 +226,7 @@
|
|||||||
|
|
||||||
// Clang
|
// Clang
|
||||||
#elif defined(__clang__)
|
#elif defined(__clang__)
|
||||||
# if GLM_PLATFORM & GLM_COMPILER_APPLE_CLANG
|
# if GLM_PLATFORM & GLM_PLATFORM_APPLE
|
||||||
# if __clang_major__ == 4 && __clang_minor__ == 0
|
# if __clang_major__ == 4 && __clang_minor__ == 0
|
||||||
# define GLM_COMPILER GLM_COMPILER_APPLE_CLANG40
|
# define GLM_COMPILER GLM_COMPILER_APPLE_CLANG40
|
||||||
# elif __clang_major__ == 4 && __clang_minor__ == 1
|
# elif __clang_major__ == 4 && __clang_minor__ == 1
|
||||||
@ -240,7 +240,7 @@
|
|||||||
# elif __clang_major__ >= 6
|
# elif __clang_major__ >= 6
|
||||||
# define GLM_COMPILER GLM_COMPILER_APPLE_CLANG60
|
# define GLM_COMPILER GLM_COMPILER_APPLE_CLANG60
|
||||||
# endif
|
# endif
|
||||||
# elif GLM_PLATFORM & GLM_COMPILER_LLVM
|
# elif GLM_PLATFORM & GLM_PLATFORM_LINUX
|
||||||
# if __clang_major__ == 3 && __clang_minor__ == 0
|
# if __clang_major__ == 3 && __clang_minor__ == 0
|
||||||
# define GLM_COMPILER GLM_COMPILER_LLVM30
|
# define GLM_COMPILER GLM_COMPILER_LLVM30
|
||||||
# elif __clang_major__ == 3 && __clang_minor__ == 1
|
# elif __clang_major__ == 3 && __clang_minor__ == 1
|
||||||
|
Loading…
Reference in New Issue
Block a user