Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit df4cafb

Browse files
committed
core.sys.posix.fcntl: Add correct locking constants for Glibc/AArch64
1 parent 5e9bd19 commit df4cafb

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/core/sys/posix/fcntl.d

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ version( CRuntime_Glibc )
9898
enum F_SETLK = 6;
9999
enum F_SETLKW = 7;
100100
}
101+
else version(AArch64)
102+
{
103+
enum F_GETLK = 5;
104+
enum F_SETLK = 6;
105+
enum F_SETLKW = 7;
106+
}
101107
else
102108
static if( __USE_FILE_OFFSET64 )
103109
{

0 commit comments

Comments
 (0)