2
0
Эх сурвалжийг харах

Fix compilation of syscall unit for Linux with -dFPC_USE_LIBC option

Pierre Muller 1 жил өмнө
parent
commit
2cb7e44a1b

+ 6 - 0
rtl/unix/syscall.pp

@@ -2,6 +2,12 @@
 unit syscall;
 unit syscall;
 {$ENDIF FPC_DOTTEDUNITS}
 {$ENDIF FPC_DOTTEDUNITS}
 
 
+{$ifdef LINUX}
+  {$ifdef FPC_USE_LIBC}
+    {$mode objfpc}
+  {$endif}
+{$endif}
+
 interface
 interface
 {$define FPC_USE_SYSCALL}
 {$define FPC_USE_SYSCALL}