From 572608a64f4651ba27dc274ebe71de14dd323e4c Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 7 Apr 2007 18:42:01 +0000 Subject: [PATCH] * fixed ipc for 32 bit systems git-svn-id: trunk@7073 - --- rtl/linux/ptypes.inc | 2 +- rtl/unix/ipc.pp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rtl/linux/ptypes.inc b/rtl/linux/ptypes.inc index 11d2cfb020..f9896f1544 100644 --- a/rtl/linux/ptypes.inc +++ b/rtl/linux/ptypes.inc @@ -58,7 +58,7 @@ Type {$ifdef cpu64} mode_t = cint; { used for file attributes } {$else cpu64} - mode_t = cuint32; { used for file attributes } + mode_t = cushort; { used for file attributes } {$endif cpu64} TMode = mode_t; pMode = ^mode_t; diff --git a/rtl/unix/ipc.pp b/rtl/unix/ipc.pp index dd085e2d96..72828e181a 100644 --- a/rtl/unix/ipc.pp +++ b/rtl/unix/ipc.pp @@ -22,7 +22,7 @@ Unit ipc; interface -Uses BaseUnix; +Uses BaseUnix,UnixType; { ---------------------------------------------------------------------- General IPC stuff @@ -135,8 +135,8 @@ Type shm_atime : time_t; shm_dtime : time_t; shm_ctime : time_t; - shm_cpid : pid_t; - shm_lpid : pid_t; + shm_cpid : ipc_pid_t; + shm_lpid : ipc_pid_t; shm_nattch : word; shm_npages : word; shm_pages : Pointer;