* fixed stat/fstat-related types for iphonesim platform

(mantis #20249)

git-svn-id: trunk@19078 -
This commit is contained in:
Jonas Maebe 2011-09-17 09:31:32 +00:00
parent ea6138cffa
commit 6920c7a0c1
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
{$endif}
{$endif}
{$if defined(darwin) and defined(cpuarm)}
{$if (defined(darwin) and defined(cpuarm)) or defined(iphonesim)}
{$define darwinarm}
{$endif}

View File

@ -35,7 +35,7 @@ type
pGid = ^gid_t;
TIOCtlRequest = cuLong;
{$ifndef cpuarm}
{$if not defined(cpuarm) and not defined(iphonesim)}
ino_t = cuint32; { used for file serial numbers }
{$else}
ino_t = cuint64;
@ -144,7 +144,7 @@ type
val: array[0..1] of cint32;
end;
{$ifdef cpuarm}
{$if defined(cpuarm) or defined(iphonesim)}
{ structure used on iPhoneOS and available on Mac OS X 10.6 and later }
tstatfs = record
bsize : cuint32;