summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2009-10-27 11:02:32 +0100
committerTomas Bzatek <tbzatek@redhat.com>2009-10-27 11:02:32 +0100
commitc50196db41865ddc7a4f32827720312ea74542dd (patch)
tree4f43a7a9c7abda544dc25e846edee6346908b0c1
parentaaacc5caf48f3fd4d6c0141e45dc3e94867d54e5 (diff)
downloadtuxcmd-c50196db41865ddc7a4f32827720312ea74542dd.tar.xz
Fix PPC64 compilation
Note: this is untested change
-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;