Skip to content

Commit

Permalink
GLM: Fix GCC version detection for GCC 7.3+
Browse files Browse the repository at this point in the history
  • Loading branch information
vkremianskii authored and DrMcCoy committed May 19, 2018
1 parent 8f6cf9a commit 3558b80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions glm/README.xoreos
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ it:

- Modified include files to silence compiler warnings about variable
shadowing
- Fixed GCC version detection for GCC 7.3+
2 changes: 1 addition & 1 deletion glm/simd/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@
# define GLM_COMPILER (GLM_COMPILER_GCC70)
# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 1)
# define GLM_COMPILER (GLM_COMPILER_GCC71)
# elif (__GNUC__ == 7) && (__GNUC_MINOR__ == 2)
# elif (__GNUC__ == 7) && (__GNUC_MINOR__ >= 2)
# define GLM_COMPILER (GLM_COMPILER_GCC72)
# elif (__GNUC__ >= 8)
# define GLM_COMPILER (GLM_COMPILER_GCC80)
Expand Down

0 comments on commit 3558b80

Please sign in to comment.