Updated compiler detection

This commit is contained in:
Christophe Riccio
2013-08-27 10:50:33 +02:00
parent 80f6c06c78
commit 1de93021bd
3 changed files with 7 additions and 21 deletions

View File

@@ -156,6 +156,7 @@
#define GLM_COMPILER_GCC46 0x020000D0
#define GLM_COMPILER_GCC47 0x020000E0
#define GLM_COMPILER_GCC48 0x020000F0
#define GLM_COMPILER_GCC49 0x02000100
// G++ command line to display defined
// echo "" | g++ -E -dM -x c++ - | sort

View File

@@ -134,7 +134,6 @@
////////////////////
// check type sizes
#ifndef GLM_STATIC_ASSERT_NULL
GLM_STATIC_ASSERT(sizeof(glm::float16) == 2, "float16 size isn't 2 bytes on this platform");
GLM_STATIC_ASSERT(sizeof(glm::float32) == 4, "float32 size isn't 4 bytes on this platform");
GLM_STATIC_ASSERT(sizeof(glm::float64) == 8, "float64 size isn't 8 bytes on this platform");
#endif//GLM_STATIC_ASSERT_NULL