Browse Source

--- Merging r19078 into '.':
U rtl/bsd/ostypes.inc
U rtl/darwin/ptypes.inc

# revisions: 19078
------------------------------------------------------------------------
r19078 | jonas | 2011-09-17 11:31:32 +0200 (Sat, 17 Sep 2011) | 3 lines
Changed paths:
M /trunk/rtl/bsd/ostypes.inc
M /trunk/rtl/darwin/ptypes.inc

* fixed stat/fstat-related types for iphonesim platform
(mantis #20249)

------------------------------------------------------------------------

git-svn-id: branches/fixes_2_6@19204 -

marco 14 years ago
parent
commit
aae103b314
2 changed files with 3 additions and 3 deletions
  1. 1 1
      rtl/bsd/ostypes.inc
  2. 2 2
      rtl/darwin/ptypes.inc

+ 1 - 1
rtl/bsd/ostypes.inc

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

+ 2 - 2
rtl/darwin/ptypes.inc

@@ -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;