From f901f605880b78fdf4896d58b2dc4acf9071b7b8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 15 Nov 2002 13:03:08 +0000 Subject: Fix it for real this time. --- libc/sysdeps/linux/common/truncate64.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/common/truncate64.c') diff --git a/libc/sysdeps/linux/common/truncate64.c b/libc/sysdeps/linux/common/truncate64.c index 3620c8c50..a23bac536 100644 --- a/libc/sysdeps/linux/common/truncate64.c +++ b/libc/sysdeps/linux/common/truncate64.c @@ -34,10 +34,6 @@ _syscall2(int, truncate64, const char *, path, __off64_t, length); static inline _syscall3(int, __syscall_truncate64, const char *, path, int, high_length, int, low_length); #endif -#else -#error Your machine is not 64 bit or 32 bit, I am dazed and confused. -#endif /* __WORDSIZE */ - /* The exported truncate64 function. */ int truncate64 (const char * path, __off64_t length) @@ -46,4 +42,10 @@ int truncate64 (const char * path, __off64_t length) uint32_t high = length >> 32; return INLINE_SYSCALL(truncate64, 3, path, __LONG_LONG_PAIR (high, low)); } + +#else +#error Your machine is not 64 bit or 32 bit, I am dazed and confused. +#endif /* __WORDSIZE */ + #endif /* __UCLIBC_HAS_LFS__ */ + -- cgit v1.2.3