mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 09:59:17 +02:00
* fixed stat/fstat-related types for iphonesim platform
(mantis #20249) git-svn-id: trunk@19078 -
This commit is contained in:
parent
ea6138cffa
commit
6920c7a0c1
@ -30,7 +30,7 @@
|
|||||||
{$endif}
|
{$endif}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
{$if defined(darwin) and defined(cpuarm)}
|
{$if (defined(darwin) and defined(cpuarm)) or defined(iphonesim)}
|
||||||
{$define darwinarm}
|
{$define darwinarm}
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ type
|
|||||||
pGid = ^gid_t;
|
pGid = ^gid_t;
|
||||||
TIOCtlRequest = cuLong;
|
TIOCtlRequest = cuLong;
|
||||||
|
|
||||||
{$ifndef cpuarm}
|
{$if not defined(cpuarm) and not defined(iphonesim)}
|
||||||
ino_t = cuint32; { used for file serial numbers }
|
ino_t = cuint32; { used for file serial numbers }
|
||||||
{$else}
|
{$else}
|
||||||
ino_t = cuint64;
|
ino_t = cuint64;
|
||||||
@ -144,7 +144,7 @@ type
|
|||||||
val: array[0..1] of cint32;
|
val: array[0..1] of cint32;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$ifdef cpuarm}
|
{$if defined(cpuarm) or defined(iphonesim)}
|
||||||
{ structure used on iPhoneOS and available on Mac OS X 10.6 and later }
|
{ structure used on iPhoneOS and available on Mac OS X 10.6 and later }
|
||||||
tstatfs = record
|
tstatfs = record
|
||||||
bsize : cuint32;
|
bsize : cuint32;
|
||||||
|
Loading…
Reference in New Issue
Block a user