* fixed ipc for 32 bit systems

git-svn-id: trunk@7073 -
This commit is contained in:
florian 2007-04-07 18:42:01 +00:00
parent 3b3162062a
commit 572608a64f
2 changed files with 4 additions and 4 deletions

View File

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

View File

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