diff --git a/baseunits/uBaseUnit.pas b/baseunits/uBaseUnit.pas index 38fa4c096..7c90db7d6 100644 --- a/baseunits/uBaseUnit.pas +++ b/baseunits/uBaseUnit.pas @@ -3568,6 +3568,7 @@ function RunExternalProcessAsAdmin(Exe, Params: String; ShowWind: Boolean; {$ENDIF} end; +{$ifdef windows} function WinRunProcessA(Exe, Params: string; ShowWind: Boolean; isPersistent: Boolean): Boolean; var SEInfo: TSHELLEXECUTEINFOA; @@ -3615,6 +3616,7 @@ function WinRunProcessW(Exe, Params: string; ShowWind: Boolean; isPersistent: Bo if isPersistent then WaitForSingleObject(SEInfo.hProcess, INFINITE); end; +{$endif} function RunExternalProcess(Exe: String; Params: array of string; ShowWind: Boolean; isPersistent: Boolean): Boolean;