mirror of
https://github.com/g-truc/glm.git
synced 2025-04-06 14:05:01 +00:00
When SIMD is enabled, user C++ language extensions on GCC and Clang
This commit is contained in:
parent
02a794a621
commit
18627cc3d2
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@
|
|||
|
||||
#if (defined(_MSC_EXTENSIONS))
|
||||
# define GLM_LANG_EXT GLM_LANG_CXXMS_FLAG
|
||||
#elif ((GLM_COMPILER & GLM_COMPILER_CLANG) && (GLM_ARCH & GLM_ARCH_SIMD_BIT))
|
||||
#elif ((GLM_COMPILER & (GLM_COMPILER_CLANG | GLM_COMPILER_GCC)) && (GLM_ARCH & GLM_ARCH_SIMD_BIT))
|
||||
# define GLM_LANG_EXT GLM_LANG_CXXMS_FLAG
|
||||
#else
|
||||
# define GLM_LANG_EXT 0
|
||||
|
|
Loading…
Add table
Reference in a new issue