瀏覽代碼

Add cint type definition if not declared for syscall unit compilation

git-svn-id: trunk@28832 -
pierre 10 年之前
父節點
當前提交
123b9f789a
共有 1 個文件被更改,包括 6 次插入0 次删除
  1. 6 0
      rtl/openbsd/sysnr.inc

+ 6 - 0
rtl/openbsd/sysnr.inc

@@ -316,6 +316,12 @@ Const
 (* 329 *)    syscall_nr___set_tcb = 329;
 (* 330 *)    syscall_nr___get_tcb = 330;
 
+
+{$if not declared (cint) }
+type
+  cint = longint;
+{$endif}
+
 { Aliases }
 var
   syscall_nr_waitpid : cint = syscall_nr_wait4;  // 7, added: ease of notation purposes