[klibc] [patch] fix defintion of struct statfs64
maximilian attems
maks at sternwelten.at
Mon Dec 19 01:34:53 PST 2005
On Sun, 18 Dec 2005, maximilian attems wrote:
> Fix the definition of struct statfs64,
> required for run-init to work on alpha.
>
> verified to have no regressions on amd64.
while relooking at this patch i'm not shure why amd64 still worked.
first i thought of just adding || defined(__alpha__) as least likely
to break something that's already working.
belows excludes those archs where the line is drawn.
Signed-off-by: maximilian attems <janitor at sternwelten.at>
--- a/include/sys/vfs.h 2005-09-06 22:49:34.000000000 +0200
+++ b/include/sys/vfs.h 2005-12-19 10:29:35.000000000 +0100
@@ -13,7 +13,7 @@
/* struct statfs64 -- there seems to be two standards -
one for 32 and one for 64 bits, and they're incompatible... */
-#if _BITSIZE == 32 || defined(__s390__)
+#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__)
struct statfs {
uint32_t f_type;
More information about the klibc
mailing list