summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sh/bits/fcntl.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-11-15 15:38:10 +0000
commit17e9e1b9d5c22eaa5a48f8ea196c801099576c7f (patch)
tree3fd730a0d91df3022abd01848a13cfcaf4fae059 /libc/sysdeps/linux/sh/bits/fcntl.h
parent2fa869ff395997837954df74858cdd5a82c42c05 (diff)
- Remove linux-specific prototypes if asked to.
Diffstat (limited to 'libc/sysdeps/linux/sh/bits/fcntl.h')
-rw-r--r--libc/sysdeps/linux/sh/bits/fcntl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/sh/bits/fcntl.h b/libc/sysdeps/linux/sh/bits/fcntl.h
index 93c41d225..762b9b0bb 100644
--- a/libc/sysdeps/linux/sh/bits/fcntl.h
+++ b/libc/sysdeps/linux/sh/bits/fcntl.h
@@ -189,7 +189,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
@@ -238,4 +238,4 @@ extern ssize_t tee (int __fdin, int __fdout, size_t __len,
#endif
__END_DECLS
-
+#endif /* LINUX_SPECIFIC */