Browse Source

Merged revisions 7496 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk

........
r7496 | peter | 2007-05-28 16:25:59 +0200 (Mon, 28 May 2007) | 2 lines

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

........

git-svn-id: branches/fixes_2_2@7506 -

peter 18 years ago
parent
commit
273b0fc3c7
1 changed files with 2 additions and 5 deletions
  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;