Ver código fonte

* fix incompatiblity in signess between 64 and 32, make tthreadid=ptruint

git-svn-id: trunk@7496 -
peter 18 anos atrás
pai
commit
9abb852d70
1 arquivos alterados com 2 adições e 5 exclusões
  1. 2 5
      rtl/linux/sysosh.inc

+ 2 - 5
rtl/linux/sysosh.inc

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