mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 02:07:53 +02:00
* fix incompatiblity in signess between 64 and 32, make tthreadid=ptruint
git-svn-id: trunk@7496 -
This commit is contained in:
parent
e1b7ce5aa9
commit
9abb852d70
@ -19,12 +19,9 @@
|
||||
type
|
||||
{ fd are int in C also for 64bit targets (x86_64) }
|
||||
THandle = Longint;
|
||||
|
||||
{ pthread_t is defined as an "unsigned long" }
|
||||
{$ifdef CPU64}
|
||||
TThreadID = QWord;
|
||||
{$else}
|
||||
TThreadID = THandle;
|
||||
{$endif}
|
||||
TThreadID = PtrUInt;
|
||||
|
||||
{ pthread_mutex_t }
|
||||
PRTLCriticalSection = ^TRTLCriticalSection;
|
||||
|
Loading…
Reference in New Issue
Block a user