diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-21 13:29:50 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-21 13:29:50 -0500 |
commit | 7bdf11c2c611a5d8a5171c188461ff267fd555b6 (patch) | |
tree | e5c1b5946248ddaf073ff0912a69f40858de1f77 /arch/powerpc/bits/alltypes.h.sh | |
parent | 2df4f6f17b1f14684cb991c53c9ef0ddaa8c7bad (diff) | |
download | musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.tar.gz musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.tar.bz2 musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.tar.xz musl-7bdf11c2c611a5d8a5171c188461ff267fd555b6.zip |
fix powerpc types to match abi, and some feature test issues
Diffstat (limited to 'arch/powerpc/bits/alltypes.h.sh')
-rwxr-xr-x | arch/powerpc/bits/alltypes.h.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/arch/powerpc/bits/alltypes.h.sh b/arch/powerpc/bits/alltypes.h.sh index 9b616772..befad081 100755 --- a/arch/powerpc/bits/alltypes.h.sh +++ b/arch/powerpc/bits/alltypes.h.sh @@ -16,9 +16,10 @@ union \1 \2;\ #endif\ /' -TYPEDEF unsigned int size_t; -TYPEDEF long ssize_t; -TYPEDEF long ptrdiff_t; +TYPEDEF unsigned size_t; +TYPEDEF int ssize_t; +TYPEDEF int ptrdiff_t; + TYPEDEF __builtin_va_list va_list; #ifndef __cplusplus @@ -52,8 +53,8 @@ TYPEDEF unsigned int uint_fast16_t; TYPEDEF unsigned int uint_fast32_t; TYPEDEF uint64_t uint_fast64_t; -TYPEDEF long intptr_t; -TYPEDEF unsigned long uintptr_t; +TYPEDEF int intptr_t; +TYPEDEF unsigned uintptr_t; TYPEDEF float float_t; TYPEDEF double double_t; |