mirror of
https://github.com/g-truc/glm.git
synced 2024-11-10 04:31:47 +00:00
updated CLang version detection
This commit is contained in:
parent
8b5e63375f
commit
b9d9ae4ec5
@ -171,6 +171,8 @@
|
||||
#define GLM_COMPILER_CLANG31 0x20000060
|
||||
#define GLM_COMPILER_CLANG32 0x20000070
|
||||
#define GLM_COMPILER_CLANG33 0x20000080
|
||||
#define GLM_COMPILER_CLANG40 0x20000090
|
||||
#define GLM_COMPILER_CLANG41 0x200000A0
|
||||
|
||||
// LLVM GCC
|
||||
#define GLM_COMPILER_LLVM_GCC 0x40000000
|
||||
|
@ -176,7 +176,7 @@ int test_compiler()
|
||||
case GLM_COMPILER_CLANG33:
|
||||
std::cout << "GLM_COMPILER_CLANG33" << std::endl;
|
||||
break;
|
||||
case GLM_COMPILER_CLANG33:
|
||||
case GLM_COMPILER_CLANG40:
|
||||
std::cout << "GLM_COMPILER_CLANG40" << std::endl;
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user