From 84a9a9d2fd5f76c5461ff9e8c6180599d0383a01 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Thu, 11 Mar 2021 18:46:48 -0600 Subject: [PATCH] [ox/std] Fix Mac build --- deps/ox/src/ox/std/typetraits.hpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/deps/ox/src/ox/std/typetraits.hpp b/deps/ox/src/ox/std/typetraits.hpp index 0c67e2ee..50eb58e5 100644 --- a/deps/ox/src/ox/std/typetraits.hpp +++ b/deps/ox/src/ox/std/typetraits.hpp @@ -60,8 +60,13 @@ template<> struct is_integral : ox::true_type {}; template<> struct is_integral: ox::true_type {}; template<> struct is_integral : ox::true_type {}; template<> struct is_integral: ox::true_type {}; -template<> struct is_integral : ox::true_type {}; -template<> struct is_integral: ox::true_type {}; + +// some of these need to be done with the actual language syntax because no one +// can agree on what an (u)int64_t is... +template<> struct is_integral: ox::true_type {}; +template<> struct is_integral: ox::true_type {}; +template<> struct is_integral: ox::true_type {}; +template<> struct is_integral: ox::true_type {}; template constexpr bool is_integral_v = ox::is_integral::value;