From 59f2a80da96fb00c01dcd42af2cafd4635394963 Mon Sep 17 00:00:00 2001 From: christophe Date: Sun, 19 Oct 2025 15:27:24 +0200 Subject: [PATCH] Remove int64 custom implementation --- glm/detail/setup.hpp | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/glm/detail/setup.hpp b/glm/detail/setup.hpp index 51e28401b..6e309355d 100644 --- a/glm/detail/setup.hpp +++ b/glm/detail/setup.hpp @@ -609,34 +609,13 @@ namespace detail /////////////////////////////////////////////////////////////////////////////////// // 64-bit int -#if GLM_HAS_EXTENDED_INTEGER_TYPE -# include -#endif +#include namespace glm{ namespace detail { -# if GLM_HAS_EXTENDED_INTEGER_TYPE - typedef std::uint64_t uint64; - typedef std::int64_t int64; -# elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available - typedef uint64_t uint64; - typedef int64_t int64; -# elif GLM_COMPILER & GLM_COMPILER_VC - typedef unsigned __int64 uint64; - typedef signed __int64 int64; -# elif GLM_COMPILER & GLM_COMPILER_GCC -# pragma GCC diagnostic ignored "-Wlong-long" - __extension__ typedef unsigned long long uint64; - __extension__ typedef signed long long int64; -# elif (GLM_COMPILER & GLM_COMPILER_CLANG) -# pragma clang diagnostic ignored "-Wc++11-long-long" - typedef unsigned long long uint64; - typedef signed long long int64; -# else//unknown compiler - typedef unsigned long long uint64; - typedef signed long long int64; -# endif + typedef std::uint64_t uint64; + typedef std::int64_t int64; }//namespace detail }//namespace glm