|
@@ -36,7 +36,7 @@
|
|
|
#define GLM_VERSION_MAJOR 0
|
|
#define GLM_VERSION_MAJOR 0
|
|
|
#define GLM_VERSION_MINOR 9
|
|
#define GLM_VERSION_MINOR 9
|
|
|
#define GLM_VERSION_PATCH 4
|
|
#define GLM_VERSION_PATCH 4
|
|
|
-#define GLM_VERSION_REVISION 5
|
|
|
|
|
|
|
+#define GLM_VERSION_REVISION 6
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
///////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
// Platform
|
|
// Platform
|
|
@@ -77,20 +77,24 @@
|
|
|
// Report platform detection
|
|
// Report platform detection
|
|
|
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_PLATFORM_DISPLAYED))
|
|
#if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_PLATFORM_DISPLAYED))
|
|
|
# define GLM_MESSAGE_PLATFORM_DISPLAYED
|
|
# define GLM_MESSAGE_PLATFORM_DISPLAYED
|
|
|
-# if(GLM_PLATFORM & GLM_PLATFORM_WINDOWS)
|
|
|
|
|
-# pragma message("GLM: Windows platform detected")
|
|
|
|
|
|
|
+# if(GLM_PLATFORM & GLM_PLATFORM_QNXNTO)
|
|
|
|
|
+# pragma message("GLM: QNX platform detected")
|
|
|
//# elif(GLM_PLATFORM & GLM_PLATFORM_IOS)
|
|
//# elif(GLM_PLATFORM & GLM_PLATFORM_IOS)
|
|
|
//# pragma message("GLM: iOS platform detected")
|
|
//# pragma message("GLM: iOS platform detected")
|
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_APPLE)
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_APPLE)
|
|
|
# pragma message("GLM: Apple platform detected")
|
|
# pragma message("GLM: Apple platform detected")
|
|
|
|
|
+# elif(GLM_PLATFORM & GLM_PLATFORM_WINCE)
|
|
|
|
|
+# pragma message("GLM: WinCE platform detected")
|
|
|
|
|
+# elif(GLM_PLATFORM & GLM_PLATFORM_WINDOWS)
|
|
|
|
|
+# pragma message("GLM: Windows platform detected")
|
|
|
|
|
+# elif(GLM_PLATFORM & GLM_PLATFORM_CHROME_NACL)
|
|
|
|
|
+# pragma message("GLM: Native Client detected")
|
|
|
|
|
+# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
|
|
|
|
+# pragma message("GLM: Android platform detected")
|
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_LINUX)
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_LINUX)
|
|
|
# pragma message("GLM: Linux platform detected")
|
|
# pragma message("GLM: Linux platform detected")
|
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_UNIX)
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_UNIX)
|
|
|
# pragma message("GLM: UNIX platform detected")
|
|
# pragma message("GLM: UNIX platform detected")
|
|
|
-# elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
|
|
|
|
|
-# pragma message("GLM: Android platform detected")
|
|
|
|
|
-# elif(GLM_PLATFORM & GLM_PLATFORM_CHROME_NACL)
|
|
|
|
|
-# pragma message("GLM: Chrone Native Client detected")
|
|
|
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_UNKNOWN)
|
|
# elif(GLM_PLATFORM & GLM_PLATFORM_UNKNOWN)
|
|
|
# pragma message("GLM: platform unknown")
|
|
# pragma message("GLM: platform unknown")
|
|
|
# else
|
|
# else
|
|
@@ -118,6 +122,7 @@
|
|
|
#define GLM_COMPILER_VC2008 0x01000080
|
|
#define GLM_COMPILER_VC2008 0x01000080
|
|
|
#define GLM_COMPILER_VC2010 0x01000090
|
|
#define GLM_COMPILER_VC2010 0x01000090
|
|
|
#define GLM_COMPILER_VC2012 0x010000A0
|
|
#define GLM_COMPILER_VC2012 0x010000A0
|
|
|
|
|
+#define GLM_COMPILER_VC2013 0x010000B0
|
|
|
|
|
|
|
|
// GCC defines
|
|
// GCC defines
|
|
|
#define GLM_COMPILER_GCC 0x02000000
|
|
#define GLM_COMPILER_GCC 0x02000000
|
|
@@ -267,6 +272,8 @@
|
|
|
# define GLM_COMPILER GLM_COMPILER_VC2010
|
|
# define GLM_COMPILER GLM_COMPILER_VC2010
|
|
|
# elif _MSC_VER == 1700
|
|
# elif _MSC_VER == 1700
|
|
|
# define GLM_COMPILER GLM_COMPILER_VC2012
|
|
# define GLM_COMPILER GLM_COMPILER_VC2012
|
|
|
|
|
+# elif _MSC_VER == 1800
|
|
|
|
|
+# define GLM_COMPILER GLM_COMPILER_VC2013
|
|
|
# else//_MSC_VER
|
|
# else//_MSC_VER
|
|
|
# define GLM_COMPILER GLM_COMPILER_VC
|
|
# define GLM_COMPILER GLM_COMPILER_VC
|
|
|
# endif//_MSC_VER
|
|
# endif//_MSC_VER
|