|
@@ -159,7 +159,6 @@ struct flock64
|
|
};
|
|
};
|
|
#endif
|
|
#endif
|
|
|
|
|
|
-
|
|
|
|
/* Define some more compatibility macros to be backward compatible with
|
|
/* Define some more compatibility macros to be backward compatible with
|
|
BSD systems which did not managed to hide these kernel macros. */
|
|
BSD systems which did not managed to hide these kernel macros. */
|
|
#ifdef __USE_BSD
|
|
#ifdef __USE_BSD
|
|
@@ -181,7 +180,7 @@ struct flock64
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
-#ifdef __USE_GNU
|
|
+#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
|
|
/* Flags for SYNC_FILE_RANGE. */
|
|
/* Flags for SYNC_FILE_RANGE. */
|
|
# define SYNC_FILE_RANGE_WAIT_BEFORE 1 /* Wait upon writeout of all pages
|
|
# define SYNC_FILE_RANGE_WAIT_BEFORE 1 /* Wait upon writeout of all pages
|
|
in the range before performing the
|
|
in the range before performing the
|
|
@@ -204,7 +203,7 @@ struct flock64
|
|
|
|
|
|
__BEGIN_DECLS
|
|
__BEGIN_DECLS
|
|
|
|
|
|
-#ifdef __USE_GNU
|
|
+#if defined __USE_GNU && defined __UCLIBC_LINUX_SPECIFIC__
|
|
|
|
|
|
/* Provide kernel hint to read ahead. */
|
|
/* Provide kernel hint to read ahead. */
|
|
extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
|
|
extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
|