Fix (u)intmax_t to work on Mac

This commit is contained in:
Gary Talent 2018-02-09 00:36:06 -06:00
parent 12c7d8f1c9
commit 7856d4e0bf

View File

@ -18,12 +18,15 @@ typedef unsigned uint_t;
#if defined(_WIN32) || defined(__APPLE__) || defined(__arm__) || defined(__ppc__) #if defined(_WIN32) || defined(__APPLE__) || defined(__arm__) || defined(__ppc__)
typedef long long int64_t; typedef long long int64_t;
typedef unsigned long long uint64_t; typedef unsigned long long uint64_t;
typedef __INTMAX_TYPE__ intmax_t;
typedef __UINTMAX_TYPE__ uintmax_t;
#else #else
typedef long int64_t; typedef long int64_t;
typedef unsigned long uint64_t; typedef unsigned long uint64_t;
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
#endif #endif
typedef uint64_t uintmax_t;
namespace ox { namespace ox {