diff --git a/rtl/linux/system.pp b/rtl/linux/system.pp index 571c82c83d..e45eccb431 100644 --- a/rtl/linux/system.pp +++ b/rtl/linux/system.pp @@ -19,7 +19,7 @@ { If you use an aout system, set the conditional AOUT} { $Define AOUT} -{$ifdef i386} +{$ifdef CPUI386} {$DEFINE ELFRES32} {$endif} @@ -52,7 +52,7 @@ property cmdline:Pchar read get_cmdline; implementation {*****************************************************************************} -{$if defined(i386) and not defined(FPC_USE_LIBC)} +{$if defined(CPUI386) and not defined(FPC_USE_LIBC)} var sysenter_supported: LongInt = 0; {$endif}