瀏覽代碼

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

git-svn-id: trunk@7496 -
peter 18 年之前
父節點
當前提交
9abb852d70
共有 1 個文件被更改,包括 2 次插入5 次删除
  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;