mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
gcc < 5.5 fix.
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
#include <cstdint>
|
||||
|
||||
// GCC 4.9 compatibility
|
||||
#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ < 5
|
||||
// GCC < 5.5 also fails to compile with `constexpr`
|
||||
#if !defined(__clang__) && defined(__GNUC__) && ((__GNUC__ < 5) || (__GNUC__ == 5) && (__GNUC_MINOR__ < 5))
|
||||
|
||||
#define MAPBOX_ETERNAL_IS_CONSTEXPR 0
|
||||
#define MAPBOX_ETERNAL_CONSTEXPR
|
||||
|
||||
Reference in New Issue
Block a user