summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ULibc.pas16
1 files changed, 8 insertions, 8 deletions
diff --git a/ULibc.pas b/ULibc.pas
index 0cdac2b..50996bd 100644
--- a/ULibc.pas
+++ b/ULibc.pas
@@ -118,7 +118,7 @@ type
Pstat64 = ^Tstat64;
Tstat64 = record
-{$IFNDEF CPU64}
+{$IFNDEF CPU64}
{$IFNDEF CPUPOWERPC} // i386
st_dev: cuLongLong;
__pad0_: array[0..3] of cuChar;
@@ -181,14 +181,14 @@ type
st_ctime_nsec: cuLong;
__unused2: array[0..2] of cLong;
{$ELSE} // PPC64
- st_dev : cULong;
- st_ino : cULong; { wrongly defined in RTL? }
- st_nlink : cULong; { wrongly defined in RTL? }
- st_mode : mode_t;
- st_uid : uid_t;
- st_gid : gid_t;
+ st_dev : cuLong;
+ st_ino : cuLong; { wrongly defined in RTL? }
+ st_nlink : cuLong; { wrongly defined in RTL? }
+ st_mode : cuInt;
+ st_uid : cuInt;
+ st_gid : cuInt;
st_rdev : cULong;
- st_size : off_t;
+ st_size : cLong;
st_blksize : cULong;
st_blocks : cULong; { Number 512-byte blocks allocated. }
st_atime : cULong;