From b5db1bf52fb3c4b7c2dd4fa38b123d425a449b58 Mon Sep 17 00:00:00 2001 From: rich2014 Date: Tue, 28 Nov 2023 01:48:04 +0800 Subject: [PATCH] FpDebug: fix the compilation issue introduced by 1633420 on MacOS --- components/fpdebug/fpdbglinuxextra.pas | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/fpdebug/fpdbglinuxextra.pas b/components/fpdebug/fpdbglinuxextra.pas index 423c067192..9281146820 100644 --- a/components/fpdebug/fpdbglinuxextra.pas +++ b/components/fpdebug/fpdbglinuxextra.pas @@ -7,8 +7,10 @@ interface uses Classes, BaseUnix, - SysUtils, - SysCall; +{$ifdef linux} + SysCall, +{$endif} + SysUtils; const PTRACE_TRACEME = 0;