[glibc/arm/morello/main] aarch64: Use fewer ifdefs in bits/fcntl.h

Szabolcs Nagy nsz@sourceware.org
Fri Aug 5 19:30:15 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=084ac620b1d50fa86c1482669239fb391e1f49d1

commit 084ac620b1d50fa86c1482669239fb391e1f49d1
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Fri Jul 15 08:42:53 2022 +0100

    aarch64: Use fewer ifdefs in bits/fcntl.h
    
    This simplifies adding the Morello purecap abi target.

Diff:
---
 sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h
index e3137e39e4..891749de80 100644
--- a/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h
+++ b/sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h
@@ -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


More information about the Glibc-cvs mailing list