--- glm-0.9.9.7/glm/detail/setup.hpp.orig 2020-03-15 22:50:16.184200751 +0000 +++ glm-0.9.9.7/glm/detail/setup.hpp 2020-03-15 22:51:43.347287505 +0000 @@ -655,6 +655,10 @@ #if GLM_HAS_EXTENDED_INTEGER_TYPE # include #endif +#if defined(__sun) +typedef unsigned long long uint64; +typedef signed long long int64; +#endif namespace glm{ namespace detail @@ -662,6 +666,9 @@ # if GLM_HAS_EXTENDED_INTEGER_TYPE typedef std::uint64_t uint64; typedef std::int64_t int64; +# elif defined(__sun) + typedef unsigned long long uint64; + typedef signed long long int64; # elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available typedef uint64_t uint64; typedef int64_t int64;