From dda51327baa01c8e5c188a9952317396bb5569b1 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 21 Sep 2010 11:01:10 -0700 Subject: Undo feature selection for ftruncate. --- posix/unistd.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'posix') diff --git a/posix/unistd.h b/posix/unistd.h index f8b84e3..5ebcaf1 100644 --- a/posix/unistd.h +++ b/posix/unistd.h @@ -1020,6 +1020,9 @@ extern int truncate64 (__const char *__file, __off64_t __length) __THROW __nonnull ((1)) __wur; # endif +#endif /* Use BSD || X/Open Unix || POSIX 2008. */ + +#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K /* Truncate the file FD is open on to LENGTH bytes. */ # ifndef __USE_FILE_OFFSET64 -- cgit v1.1