Sparc64 uses the same value as sparc for O_APPEND

git-svn-id: trunk@36782 -
This commit is contained in:
pierre 2017-07-24 10:01:14 +00:00
parent 6f6139609d
commit 1ff7f061ff

View File

@ -173,7 +173,7 @@ type
l_start : kernel_off_t; { starting offset }
l_len : kernel_off_t; { len = 0 means until end of file }
l_pid : pid_t; { lock owner }
{$ifdef cpusparc}
{$if defined(cpusparc) or defined(cpusparc64)}
__pad : cshort;
{$endif}
End;
@ -251,7 +251,7 @@ CONST
O_RDONLY = 0; { Open read-only. }
O_WRONLY = 1; { Open write-only. }
O_RDWR = 2; { Open read/write. }
{$ifdef cpusparc}
{$if defined(cpusparc) or defined(cpusparc64)}
O_APPEND = 8;
O_CREAT = $200;
O_TRUNC = $400;
@ -263,7 +263,7 @@ CONST
O_DIRECTORY = $10000;
O_NOFOLLOW = $20000;
O_DIRECT = $100000;
{$else : not cpusparc}
{$else : not (cpusparc or cpusparc64)}
{$ifdef cpumips}
O_CREAT = $100;
O_EXCL = $400;
@ -289,7 +289,7 @@ CONST
O_DIRECTORY = $10000;
O_NOFOLLOW = $20000;
{$endif not cpumips}
{$endif not cpusparc}
{$endif not (cpusparc or cpusparc64)}
AT_FDCWD = -100;
AT_REMOVEDIR = $200;