diff --git a/src/reflect/TypeDescr.cpp b/src/reflect/TypeDescr.cpp index 8b40678..676225f 100644 --- a/src/reflect/TypeDescr.cpp +++ b/src/reflect/TypeDescr.cpp @@ -257,9 +257,11 @@ namespace xo { bool TypeDescrBase::is_i64() const { - static_assert(sizeof(long long) == 8); + // FIXME: on apple/clang may need to use long long - return Reflect::is_native(this); + static_assert(sizeof(std::int64_t) == 8); + + return Reflect::is_native(this); } bool