mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 01:16:18 +02:00
LazUtils: Dont override TProcess.Execute for TProcessUTF8 starting from FPC 3.2. Issue #35991
git-svn-id: branches/fixes_2_0@64009 -
This commit is contained in:
parent
2838eb631e
commit
f7c69baac6
@ -14,14 +14,16 @@ unit UTF8Process;
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
{$IFDEF MSWINDOWS}
|
||||
{$IF FPC_FULLVERSION < 30200}
|
||||
{$DEFINE UseTProcessW}
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, Process,
|
||||
{$IF defined(UseSeparateTProcessW) or defined(UseTProcessW)}
|
||||
{$IFDEF UseTProcessW}
|
||||
pipes,
|
||||
{$ENDIF}
|
||||
FileUtil, LazFileUtils, LazUTF8, LazUtilsStrConsts;
|
||||
@ -199,9 +201,6 @@ Const
|
||||
PriorityConstants : Array [TProcessPriority] of Cardinal =
|
||||
(HIGH_PRIORITY_CLASS,IDLE_PRIORITY_CLASS,
|
||||
NORMAL_PRIORITY_CLASS,REALTIME_PRIORITY_CLASS
|
||||
{$if (FPC_FULLVERSION >= 30200) and not defined(WinCE)}
|
||||
,BELOW_NORMAL_PRIORITY_CLASS,ABOVE_NORMAL_PRIORITY_CLASS
|
||||
{$endif}
|
||||
);
|
||||
|
||||
function WStrAsUniquePWideChar(var s: UnicodeString): PWideChar; inline;
|
||||
|
Loading…
Reference in New Issue
Block a user