updated CLang version detection

This commit is contained in:
Christophe Riccio 2012-09-23 15:30:17 +01:00
parent 8b5e63375f
commit b9d9ae4ec5
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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: