From c50196db41865ddc7a4f32827720312ea74542dd Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 27 Oct 2009 11:02:32 +0100 Subject: Fix PPC64 compilation Note: this is untested change --- ULibc.pas | 16 ++++++++-------- 1 file 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; -- cgit v1.2.3