]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
aarch64: Use fewer ifdefs in bits/fcntl.h
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 15 Jul 2022 07:42:53 +0000 (08:42 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:48 +0000 (14:46 +0100)
This simplifies adding the Morello purecap abi target.

sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h

index e3137e39e419540596afc7aa76742340e3870231..891749de802d977f4e6c510f72d0612874ddfdaa 100644 (file)
@@ -29,9 +29,7 @@
 # define __O_LARGEFILE 0400000
 #else
 # define __O_LARGEFILE 0
-#endif
 
-#ifdef __LP64__
 # define F_GETLK64     5
 # define F_SETLK64     6
 # define F_SETLKW64    7