diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-07-22 16:40:35 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-07-22 16:40:35 -0400 |
commit | 009f186810c16a8fef98fad485298bfb96f810ad (patch) | |
tree | c10efb07a49b11b98b466086014ba6613d4c1641 /include/alltypes.h.in | |
parent | 1c6cace0bf88a5f30886665e2c2d2268e3a3ccc5 (diff) | |
download | musl-009f186810c16a8fef98fad485298bfb96f810ad.tar.gz musl-009f186810c16a8fef98fad485298bfb96f810ad.tar.bz2 musl-009f186810c16a8fef98fad485298bfb96f810ad.tar.xz musl-009f186810c16a8fef98fad485298bfb96f810ad.zip |
move register_t and u_int64_t (back) to alltypes
during the header refactoring, I had moved u_int64_t out of alltypes
under the assumption that we could just use long long everywhere.
however, it seems some broken applications make inconsistent mixed use
of u_int64_t and uint64_t, resulting in build errors when the
underlying type differs.
Diffstat (limited to 'include/alltypes.h.in')
-rw-r--r-- | include/alltypes.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/alltypes.h.in b/include/alltypes.h.in index 644c61de..6f703583 100644 --- a/include/alltypes.h.in +++ b/include/alltypes.h.in @@ -4,6 +4,7 @@ TYPEDEF _Addr ptrdiff_t; TYPEDEF _Addr ssize_t; TYPEDEF _Addr intptr_t; TYPEDEF _Addr regoff_t; +TYPEDEF _Reg register_t; TYPEDEF signed char int8_t; TYPEDEF short int16_t; @@ -14,6 +15,7 @@ TYPEDEF unsigned char uint8_t; TYPEDEF unsigned short uint16_t; TYPEDEF unsigned int uint32_t; TYPEDEF unsigned _Int64 uint64_t; +TYPEDEF unsigned _Int64 u_int64_t; TYPEDEF unsigned _Int64 uintmax_t; TYPEDEF unsigned mode_t; |