added _uint128_t check

This commit is contained in:
2016-10-07 14:46:05 +00:00
parent 5db3bbd8d8
commit 066b5c0e0d
4 changed files with 53 additions and 1 deletions

View File

@ -294,6 +294,9 @@
/* sizeof(__int8) */
#undef HCL_SIZEOF___INT8
/* sizeof(__uint128_t) */
#undef HCL_SIZEOF___UINT128_T
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
#undef LT_OBJDIR
@ -394,6 +397,9 @@
/* The size of `__int8_t', as computed by sizeof. */
#undef SIZEOF___INT8_T
/* The size of `__uint128_t', as computed by sizeof. */
#undef SIZEOF___UINT128_T
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

View File

@ -197,7 +197,10 @@
#elif defined(HCL_SIZEOF___INT128_T) && (HCL_SIZEOF___INT128_T == 16)
# define HCL_HAVE_UINT128_T
# define HCL_HAVE_INT128_T
#if defined(__clang__)
#if defined(HCL_SIZEOF___UINT128_T) && (HCL_SIZEOF___UINT128_T == HCL_SIZEOF___INT128_T)
typedef __uint128_t hcl_uint128_t;
typedef __int128_t hcl_int128_t;
#elif defined(__clang__)
typedef __uint128_t hcl_uint128_t;
typedef __int128_t hcl_int128_t;
#else