mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-08 19:32:39 +08:00
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:
parent
0358b76f15
commit
8bb06e3c3e
10
acinclude.m4
10
acinclude.m4
@ -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;
|
||||
])
|
||||
|
@ -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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user