mirror of
https://github.com/g-truc/glm.git
synced 2025-04-05 21:45:02 +00:00
Merge pull request #921 from inviwo/feature/gcc6-standard-version
Fix for g++6 where -std=c++1z sets __cplusplus to 201500 instead of 201402 #921
This commit is contained in:
commit
513af73cc4
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@
|
|||
# define GLM_LANG (GLM_LANG_CXX2A | GLM_LANG_EXT)
|
||||
# elif __cplusplus == 201703L || GLM_LANG_PLATFORM == 201703L
|
||||
# define GLM_LANG (GLM_LANG_CXX17 | GLM_LANG_EXT)
|
||||
# elif __cplusplus == 201402L || GLM_LANG_PLATFORM == 201402L
|
||||
# elif __cplusplus == 201402L || __cplusplus == 201500L || GLM_LANG_PLATFORM == 201402L
|
||||
# define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_EXT)
|
||||
# elif __cplusplus == 201103L || GLM_LANG_PLATFORM == 201103L
|
||||
# define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_EXT)
|
||||
|
|
Loading…
Add table
Reference in a new issue