diff --git a/acinclude.m4 b/acinclude.m4 index 953ef9686..aed7a6354 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -299,12 +299,6 @@ dnl Linux systems for ages now have had stdint.h to define uint8_t, etc. AH_BOTTOM([ #include -#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; ]) diff --git a/configure.ac b/configure.ac index a8c759fbc..eee42dd83 100644 --- a/configure.ac +++ b/configure.ac @@ -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])