Parcourir la source

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

git-svn-id: trunk@5284 -
Jonas Maebe il y a 19 ans
Parent
commit
d2b1da0aea
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3 2
      rtl/linux/sysosh.inc

+ 3 - 2
rtl/linux/sysosh.inc

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