From 17e9e1b9d5c22eaa5a48f8ea196c801099576c7f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sat, 15 Nov 2008 15:38:10 +0000 Subject: - Remove linux-specific prototypes if asked to. --- libc/sysdeps/linux/alpha/bits/fcntl.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/alpha/bits/fcntl.h') diff --git a/libc/sysdeps/linux/alpha/bits/fcntl.h b/libc/sysdeps/linux/alpha/bits/fcntl.h index 85e0fca30..c2d4c8d34 100644 --- a/libc/sysdeps/linux/alpha/bits/fcntl.h +++ b/libc/sysdeps/linux/alpha/bits/fcntl.h @@ -159,7 +159,6 @@ struct flock64 }; #endif - /* Define some more compatibility macros to be backward compatible with BSD systems which did not managed to hide these kernel macros. */ #ifdef __USE_BSD @@ -181,7 +180,7 @@ struct flock64 #endif -#ifdef __USE_GNU +#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__ /* Flags for SYNC_FILE_RANGE. */ # define SYNC_FILE_RANGE_WAIT_BEFORE 1 /* Wait upon writeout of all pages in the range before performing the @@ -230,4 +229,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len, #endif __END_DECLS - +#endif /* LINUX_SPECIFIC */ -- cgit v1.2.3