Add DISABLE_SYSTEMINLINE check to be able to avoid setting SYSTEMINLINE macro

This commit is contained in:
Pierre Muller 2022-09-20 22:39:28 +01:00
parent b8920670f4
commit 5913434ba9
3 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,9 @@ interface
{ Using inlining for small system functions/wrappers }
{$inline on}
{$define SYSTEMINLINE}
{$ifndef DISABLE_SYSTEMINLINE}
{$define SYSTEMINLINE}
{$endif}
type
{$ifndef FPUNONE}

View File

@ -29,7 +29,9 @@
{ Using inlining for small system functions/wrappers }
{$inline on}
{$define SYSTEMINLINE}
{$ifndef DISABLE_SYSTEMINLINE}
{$define SYSTEMINLINE}
{$endif}
{ don't use FPU registervariables on the i386 and i8086 }
{$if defined(CPUI386) or defined(CPUI8086)}

View File

@ -28,7 +28,9 @@
{ Using inlining for small system functions/wrappers }
{$inline on}
{$define SYSTEMINLINE}
{$ifndef DISABLE_SYSTEMINLINE}
{$define SYSTEMINLINE}
{$endif}
{ don't use FPU registervariables on the i386 and i8086 }
{$if defined(CPUI386) or defined(CPUI8086)}