mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-19 10:09:19 +02:00
* Rectify position of BirthTime fields in Stat record for openbsd
git-svn-id: trunk@19416 -
This commit is contained in:
parent
9ed2fa6f7b
commit
03b4681c1b
@ -85,7 +85,7 @@ TYPE
|
|||||||
st_mtimensec : clong; // nsec of last data modification
|
st_mtimensec : clong; // nsec of last data modification
|
||||||
st_ctime : time_t; // time of last file status change
|
st_ctime : time_t; // time of last file status change
|
||||||
st_ctimensec : clong; // nsec of last file status change
|
st_ctimensec : clong; // nsec of last file status change
|
||||||
{$if defined(darwinarm) or defined(openbsd)}
|
{$ifdef darwinarm}
|
||||||
st_birthtime : time_t; // File creation time
|
st_birthtime : time_t; // File creation time
|
||||||
st_birthtimensec : clong; // nsec of file creation time
|
st_birthtimensec : clong; // nsec of file creation time
|
||||||
{$endif}
|
{$endif}
|
||||||
@ -102,6 +102,10 @@ TYPE
|
|||||||
{$endif}
|
{$endif}
|
||||||
{$ifndef NetBSD}
|
{$ifndef NetBSD}
|
||||||
st_lspare : cint32;
|
st_lspare : cint32;
|
||||||
|
{$endif}
|
||||||
|
{$ifdef openbsd}
|
||||||
|
st_birthtime : time_t; // File creation time
|
||||||
|
st_birthtimensec : clong; // nsec of file creation time
|
||||||
{$endif}
|
{$endif}
|
||||||
st_qspare : array[0..1] Of cint64;
|
st_qspare : array[0..1] Of cint64;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user