Fixed Clang version detection from source #608
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
#define GLM_VERSION_MAJOR 0
|
||||
#define GLM_VERSION_MINOR 9
|
||||
#define GLM_VERSION_PATCH 8
|
||||
#define GLM_VERSION_REVISION 4
|
||||
#define GLM_VERSION_REVISION 5
|
||||
|
||||
#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_VERSION_DISPLAYED)
|
||||
# define GLM_MESSAGE_VERSION_DISPLAYED
|
||||
# pragma message ("GLM: version 0.9.8.4")
|
||||
# pragma message ("GLM: version 0.9.8.5")
|
||||
#endif//GLM_MESSAGES
|
||||
|
||||
// Report compiler detection
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user