* TThreadID is a QWord for all 64 bit Linuxes, not just for PPC64

git-svn-id: trunk@5284 -
This commit is contained in:
Jonas Maebe 2006-11-08 12:19:15 +00:00
parent 60069ce3d2
commit d2b1da0aea

View File

@ -19,12 +19,13 @@
type type
{ fd are int in C also for 64bit targets (x86_64) } { fd are int in C also for 64bit targets (x86_64) }
THandle = Longint; THandle = Longint;
{$ifdef CPUPOWERPC64} { pthread_t is defined as an "unsigned long" }
{$ifdef CPU64}
TThreadID = QWord; TThreadID = QWord;
{$else} {$else}
TThreadID = THandle; TThreadID = THandle;
{$endif} {$endif}
{ pthread_mutex_t } { pthread_mutex_t }
PRTLCriticalSection = ^TRTLCriticalSection; PRTLCriticalSection = ^TRTLCriticalSection;
TRTLCriticalSection = record TRTLCriticalSection = record