about summary refs log tree commit diff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-09-21 11:01:10 -0700
committerUlrich Drepper <drepper@redhat.com>2010-09-21 11:01:10 -0700
commitdda51327baa01c8e5c188a9952317396bb5569b1 (patch)
tree3344e9f2333c47bdc28b0d76b0d80828e9630d77 /posix/unistd.h
parentc3758feebf7c8786231465da664743c6f0ec79cc (diff)
downloadglibc-dda51327baa01c8e5c188a9952317396bb5569b1.tar.gz
glibc-dda51327baa01c8e5c188a9952317396bb5569b1.tar.xz
glibc-dda51327baa01c8e5c188a9952317396bb5569b1.zip
Undo feature selection for ftruncate.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index f8b84e3cb3..5ebcaf18ee 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