diff options
author | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-07-24 10:01:14 +0000 |
---|---|---|
committer | pierre <pierre@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2017-07-24 10:01:14 +0000 |
commit | d70f7a75bc1c206e6bf98d5db50b63ffc0586cc7 (patch) | |
tree | 759225a424bdfb457dcedb93ff0137abc6c44283 /rtl/linux | |
parent | e9f84898fdc4ac28a4b0a6df5f22cdd31eb18865 (diff) | |
download | fpc-d70f7a75bc1c206e6bf98d5db50b63ffc0586cc7.tar.gz |
Sparc64 uses the same value as sparc for O_APPEND
git-svn-id: https://svn.freepascal.org/svn/fpc/trunk@36782 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'rtl/linux')
-rw-r--r-- | rtl/linux/ostypes.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rtl/linux/ostypes.inc b/rtl/linux/ostypes.inc index 31e4ec8d9f..a43f7e0acf 100644 --- a/rtl/linux/ostypes.inc +++ b/rtl/linux/ostypes.inc @@ -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; |