mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 04:29:29 +02:00
* Adjust for OpenBSD struct changes in the 'dir' structure. Based on OpenBSD
ports patch patch-fpcsrc_rtl_bsd_ostypes_inc git-svn-id: trunk@41643 -
This commit is contained in:
parent
2564588bf7
commit
7b00c732b8
@ -195,6 +195,11 @@ TYPE
|
||||
dd_size : clong; // amount of data returned by getdirentries
|
||||
dd_buf : pchar; // data buffer
|
||||
dd_len : cint; // size of data buffer
|
||||
{$ifdef openbsd}
|
||||
dd_curpos : off_t;
|
||||
dd_lock : pointer;
|
||||
dd_rewind : clong;
|
||||
{$else not openbsd}
|
||||
{$ifdef netbsdpowerpc}
|
||||
dd_pad1 : cint;
|
||||
dd_seek : cint64; // magic cookie returned by getdirentries
|
||||
@ -207,6 +212,7 @@ TYPE
|
||||
__dd_lock : pthread_mutex_t; // for thread locking
|
||||
__dd_td : pointer; // telldir position recording
|
||||
{$endif}
|
||||
{$endif not openbsd}
|
||||
end;
|
||||
TDir = dir;
|
||||
pDir = ^dir;
|
||||
|
Loading…
Reference in New Issue
Block a user