소스 검색

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