浏览代码

* compilation fix - CloseThrad typo from r15072

git-svn-id: trunk@15124 -
Tomas Hajny 15 年之前
父节点
当前提交
86f1e52505
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      rtl/os2/systhrd.inc

+ 2 - 1
rtl/os2/systhrd.inc

@@ -255,6 +255,7 @@ end;
 
     function SysCloseThread (threadHandle : TThreadID) : dword;
     begin
+      SysCloseThread := 0;
 //      SysCloseThread:=CloseHandle(threadHandle);
     end;
 
@@ -455,7 +456,7 @@ begin
     WaitForThreadTerminate :=@SysWaitForThreadTerminate;
     ThreadSetPriority      :=@SysThreadSetPriority;
     ThreadGetPriority      :=@SysThreadGetPriority;
-    CloseThrad		   :=@SysCloseThread;
+    CloseThread		   :=@SysCloseThread;
     GetCurrentThreadId     :=@SysGetCurrentThreadId;
     InitCriticalSection    :=@SysInitCriticalSection;
     DoneCriticalSection    :=@SysDoneCriticalSection;