mirror of
https://github.com/g-truc/glm.git
synced 2024-11-13 22:01:46 +00:00
Fixed ICC on Linux build errors #449
This commit is contained in:
parent
adb03bee5c
commit
a754ab2e7e
@ -577,29 +577,20 @@
|
|||||||
# endif
|
# endif
|
||||||
# elif GLM_COMPILER & GLM_COMPILER_INTEL
|
# elif GLM_COMPILER & GLM_COMPILER_INTEL
|
||||||
# ifdef _MSC_EXTENSIONS
|
# ifdef _MSC_EXTENSIONS
|
||||||
# if __cplusplus >= 201402L
|
# define GLM_MSC_EXT GLM_LANG_CXXMS_FLAG
|
||||||
# define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_CXXMS_FLAG)
|
|
||||||
# elif __cplusplus >= 201103L
|
|
||||||
# define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_CXXMS_FLAG)
|
|
||||||
# elif GLM_COMPILER >= GLM_COMPILER_INTEL13
|
|
||||||
# define GLM_LANG (GLM_LANG_CXX0X | GLM_LANG_CXXMS_FLAG)
|
|
||||||
# elif __cplusplus >= 199711L
|
|
||||||
# define GLM_LANG (GLM_LANG_CXX98 | GLM_LANG_CXXMS_FLAG)
|
|
||||||
# else
|
# else
|
||||||
# define GLM_LANG (GLM_LANG_CXX | GLM_LANG_CXXMS_FLAG)
|
# define GLM_MSC_EXT 0
|
||||||
# endif
|
# endif
|
||||||
# else
|
|
||||||
# if __cplusplus >= 201402L
|
# if __cplusplus >= 201402L
|
||||||
# define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_CXXMS_FLAG)
|
# define GLM_LANG (GLM_LANG_CXX14 | GLM_MSC_EXT)
|
||||||
# elif __cplusplus >= 201103L
|
# elif __cplusplus >= 201103L
|
||||||
# define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_CXXMS_FLAG)
|
# define GLM_LANG (GLM_LANG_CXX11 | GLM_MSC_EXT)
|
||||||
# elif GLM_COMPILER >= GLM_COMPILER_INTEL13
|
# elif __INTEL_CXX11_MODE__
|
||||||
# define GLM_LANG (GLM_LANG_CXX0X | GLM_LANG_CXXMS_FLAG)
|
# define GLM_LANG (GLM_LANG_CXX0X | GLM_MSC_EXT)
|
||||||
# elif __cplusplus >= 199711L
|
# elif __cplusplus >= 199711L
|
||||||
# define GLM_LANG (GLM_LANG_CXX98 | GLM_LANG_CXXMS_FLAG)
|
# define GLM_LANG (GLM_LANG_CXX98 | GLM_MSC_EXT)
|
||||||
# else
|
# else
|
||||||
# define GLM_LANG (GLM_LANG_CXX | GLM_LANG_CXXMS_FLAG)
|
# define GLM_LANG (GLM_LANG_CXX | GLM_MSC_EXT)
|
||||||
# endif
|
|
||||||
# endif
|
# endif
|
||||||
# else // Unkown compiler
|
# else // Unkown compiler
|
||||||
# if __cplusplus >= 201402L
|
# if __cplusplus >= 201402L
|
||||||
|
Loading…
Reference in New Issue
Block a user