]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/unix/sysv/linux/bits/fcntl-linux.h
Combine __USE_BSD and __USE_SVID into __USE_MISC.
[thirdparty/glibc.git] / sysdeps / unix / sysv / linux / bits / fcntl-linux.h
index cd4722b836ea048094a6c62ef7fdb721a133a0e3..0be95955fc984b3506ff2da4a4d626e8aebe67c2 100644 (file)
 # define __F_GETOWN    9
 #endif
 
-#if defined __USE_BSD || defined __USE_UNIX98 || defined __USE_XOPEN2K8
+#if defined __USE_MISC || defined __USE_UNIX98 || defined __USE_XOPEN2K8
 # define F_SETOWN      __F_SETOWN /* Get owner (process receiving SIGIO).  */
 # define F_GETOWN      __F_GETOWN /* Set owner (process receiving SIGIO).  */
 #endif
 # define F_SHLCK               8       /* or 4 */
 #endif
 
-#ifdef __USE_BSD
+#ifdef __USE_MISC
 /* Operations for BSD flock, also used by the kernel implementation.  */
 # define LOCK_SH       1       /* Shared lock.  */
 # define LOCK_EX       2       /* Exclusive lock.  */
@@ -256,7 +256,7 @@ struct f_owner_ex
 
 /* Define some more compatibility macros to be backward compatible with
    BSD systems which did not managed to hide these kernel macros.  */
-#ifdef __USE_BSD
+#ifdef __USE_MISC
 # define FAPPEND       O_APPEND
 # define FFSYNC                O_FSYNC
 # define FASYNC                O_ASYNC