jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / scientific / glm / patches / 00-stdint.patch
blob089b302e1b4676f2541f9d4fc03ed571dc0197dc
1 --- glm-0.9.9.7/glm/detail/setup.hpp.orig 2020-03-15 22:50:16.184200751 +0000
2 +++ glm-0.9.9.7/glm/detail/setup.hpp 2020-03-15 22:51:43.347287505 +0000
3 @@ -655,6 +655,10 @@
4 #if GLM_HAS_EXTENDED_INTEGER_TYPE
5 # include <cstdint>
6 #endif
7 +#if defined(__sun)
8 +typedef unsigned long long uint64;
9 +typedef signed long long int64;
10 +#endif
12 namespace glm{
13 namespace detail
14 @@ -662,6 +666,9 @@
15 # if GLM_HAS_EXTENDED_INTEGER_TYPE
16 typedef std::uint64_t uint64;
17 typedef std::int64_t int64;
18 +# elif defined(__sun)
19 + typedef unsigned long long uint64;
20 + typedef signed long long int64;
21 # elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available
22 typedef uint64_t uint64;
23 typedef int64_t int64;