Alias Bitu to uintptr_t (resp. Bits and intptr_t)

Unlike the explicitly-sized integer types, it isn’t evident which type
was meant to be used for these two types, so let’s keep them as is until
we decide which ones they should be.
This commit is contained in:
Emmanuel Gil Peyrot 2020-09-28 02:58:23 +02:00
parent 0358b76f15
commit 8bb06e3c3e
2 changed files with 2 additions and 9 deletions

View File

@ -299,12 +299,6 @@ dnl Linux systems for ages now have had stdint.h to define uint8_t, etc.
AH_BOTTOM([
#include <cstdint>
#if SIZEOF_INT_P == 4
typedef uint32_t Bitu;
typedef int32_t Bits;
#else
typedef uint64_t Bitu;
typedef int64_t Bits;
#endif
typedef uintptr_t Bitu;
typedef intptr_t Bits;
])

View File

@ -77,7 +77,6 @@ AC_C_CONST
AC_C_INLINE
AC_TYPE_SIZE_T
AC_STRUCT_TM
AC_CHECK_SIZEOF(int *)
dnl some semi complex check for sys/socket so it works on darwin as well
AC_CHECK_HEADERS([stdlib.h sys/types.h])