소스 검색

* Redirected libc pthread_cond_t type to unixtype

git-svn-id: trunk@5931 -
michael 18 년 전
부모
커밋
ae5cfedc13
2개의 변경된 파일4개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      packages/base/libc/libc.pp
  2. 3 2
      packages/base/libc/pthreadtypesh.inc

+ 1 - 1
packages/base/libc/libc.pp

@@ -5,7 +5,7 @@ unit libc;
 
 Interface
 
-uses kerneldefs;
+uses unixtype,kerneldefs;
 
 Const
   clib = 'c';

+ 3 - 2
packages/base/libc/pthreadtypesh.inc

@@ -25,10 +25,11 @@ type
   Ppthread_attr_t = ^pthread_attr_t;
 
   Ppthread_cond_t = ^pthread_cond_t;
-  pthread_cond_t = record
+  pthread_cond_t = unixtype.pthread_cond_t;
+  {record
        __c_lock : _pthread_fastlock;
        __c_waiting : _pthread_descr;
-    end;
+    end;}
 
   Ppthread_condattr_t = ^pthread_condattr_t;
   pthread_condattr_t = record