diff options
author | maximilian attems <maks@sternwelten.at> | 2006-04-04 22:40:23 +0200 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2006-04-04 23:04:50 -0700 |
commit | 88a187ef7a997cc5d28c4c1a78ea7f93f4453122 (patch) | |
tree | 45fd0e6ad858bb9529d4fd2e6b8ac05e8b042dd0 | |
parent | fc6fb9853581476bc47f886885b3b587a1a59cd4 (diff) | |
download | klibc-88a187ef7a997cc5d28c4c1a78ea7f93f4453122.tar.gz |
statfs64 sparc_v9 fixklibc-1.3.2
It seems that klibc uses __sparc64__ to determine if it's compiled in 64
bit mode on sparc, gcc doesn't define __sparc64__
use __sparc_v9__ instead as proposed by Kyle McMartin <kyle@parisc-linux.org>,
based on a patch by Sjoerd Simons <sjoerd@spring.luon.net>
Signed-off-by: maximilian attems <maks@sternwelten.at>
-rw-r--r-- | include/sys/vfs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/vfs.h b/include/sys/vfs.h index 41a2d764f072c..aeb14d49be271 100644 --- a/include/sys/vfs.h +++ b/include/sys/vfs.h @@ -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 !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc64__) +#if !defined(__x86_64__) && !defined(__ia64__) && !defined(__sparc_v9__) struct statfs { uint32_t f_type; |