added __int128_t and __uint128_t into configure.ac

This commit is contained in:
2011-02-05 09:39:15 +00:00
parent db7d928a68
commit 7d5523360e
4 changed files with 2060 additions and 1 deletions

View File

@ -303,6 +303,9 @@
/* sizeof(__int128) */
#undef QSE_SIZEOF___INT128
/* sizeof(__int128_t) */
#undef QSE_SIZEOF___INT128_T
/* sizeof(__int16) */
#undef QSE_SIZEOF___INT16
@ -357,18 +360,33 @@
/* The size of `__int128', as computed by sizeof. */
#undef SIZEOF___INT128
/* The size of `__int128_t', as computed by sizeof. */
#undef SIZEOF___INT128_T
/* The size of `__int16', as computed by sizeof. */
#undef SIZEOF___INT16
/* The size of `__int16_t', as computed by sizeof. */
#undef SIZEOF___INT16_T
/* The size of `__int32', as computed by sizeof. */
#undef SIZEOF___INT32
/* The size of `__int32_t', as computed by sizeof. */
#undef SIZEOF___INT32_T
/* The size of `__int64', as computed by sizeof. */
#undef SIZEOF___INT64
/* The size of `__int64_t', as computed by sizeof. */
#undef SIZEOF___INT64_T
/* The size of `__int8', as computed by sizeof. */
#undef SIZEOF___INT8
/* The size of `__int8_t', as computed by sizeof. */
#undef SIZEOF___INT8_T
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

View File

@ -1,5 +1,5 @@
/*
* $Id: types.h 360 2010-10-21 13:29:12Z hyunghwan.chung $
* $Id: types.h 383 2011-02-04 15:39:15Z hyunghwan.chung $
*
Copyright 2006-2009 Chung, Hyung-Hwan.
This file is part of QSE.
@ -233,6 +233,11 @@ typedef enum qse_tri_t qse_tri_t;
# define QSE_HAVE_UINT128_T
typedef __int128 qse_int128_t;
typedef unsigned __int128 qse_uint128_t;
#elif QSE_SIZEOF___INT128_T == 16
# define QSE_HAVE_INT128_T
# define QSE_HAVE_UINT128_T
typedef __int128_t qse_int128_t;
typedef __uint128_t qse_uint128_t;
#endif
/**