Browse Source

* pthread_t is an "unsigned int" on solaris

git-svn-id: trunk@5286 -
Jonas Maebe 19 years ago
parent
commit
f1f8d119f8
2 changed files with 2 additions and 2 deletions
  1. 1 1
      rtl/solaris/pthread.inc
  2. 1 1
      rtl/solaris/sysosh.inc

+ 1 - 1
rtl/solaris/pthread.inc

@@ -29,7 +29,7 @@
     _PTHREAD_MUTEX_RECURSIVE     = 4;
     
   type
-    pthread_t = culong;
+    pthread_t = cuint;
 
     sched_param = record
       __sched_priority: cint;

+ 1 - 1
rtl/solaris/sysosh.inc

@@ -17,7 +17,7 @@
 
 type
   THandle = Longint;
-  TThreadID = THandle;
+  TThreadID = Cardinal;
   
   PRTLCriticalSection = ^TRTLCriticalSection;
   TRTLCriticalSection = record