Przeglądaj źródła

* pthread_t/TThreadID is a pointer on all BSDs/Darwin

git-svn-id: trunk@5285 -
Jonas Maebe 19 lat temu
rodzic
commit
60ba78459c
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0 4
      rtl/bsd/sysosh.inc

+ 0 - 4
rtl/bsd/sysosh.inc

@@ -19,11 +19,7 @@
 type
 type
   { fd are int in C also for 64bit targets (x86_64) }
   { fd are int in C also for 64bit targets (x86_64) }
   THandle = Longint;
   THandle = Longint;
-{$ifdef darwin}
   TThreadID = pointer;
   TThreadID = pointer;
-{$else}
-  TThreadID = longint;
-{$endif}
   
   
   { pthread_mutex_t }
   { pthread_mutex_t }
   PRTLCriticalSection = ^TRTLCriticalSection;
   PRTLCriticalSection = ^TRTLCriticalSection;