mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 14:27:59 +02:00
Sparc64 uses the same value as sparc for O_APPEND
git-svn-id: trunk@36782 -
This commit is contained in:
parent
6f6139609d
commit
1ff7f061ff
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user