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