Fix compilation of syscall unit for Linux with -dFPC_USE_LIBC option

This commit is contained in:
Pierre Muller 2024-01-05 17:46:49 +01:00
parent f6de2c5756
commit 2cb7e44a1b

View File

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