diff --git a/xo-reflect/src/reflect/TypeDescr.cpp b/xo-reflect/src/reflect/TypeDescr.cpp index 8b40678f..676225f2 100644 --- a/xo-reflect/src/reflect/TypeDescr.cpp +++ b/xo-reflect/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