Quellcode durchsuchen

Add cint type definition if not declared for syscall unit compilation

git-svn-id: trunk@28832 -
pierre vor 10 Jahren
Ursprung
Commit
123b9f789a
1 geänderte Dateien mit 6 neuen und 0 gelöschten Zeilen
  1. 6 0
      rtl/openbsd/sysnr.inc

+ 6 - 0
rtl/openbsd/sysnr.inc

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