mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-07-25 21:46:17 +02:00
Amicommon: Fixed compilation after r33290
git-svn-id: trunk@33292 -
This commit is contained in:
parent
02dbec2085
commit
b396d34364
@ -34,6 +34,9 @@ interface
|
||||
{$DEFINE HAS_SLEEP}
|
||||
{$DEFINE HAS_OSERROR}
|
||||
|
||||
{OS has only 1 byte version for ExecuteProcess}
|
||||
{$define executeprocuni}
|
||||
|
||||
{ used OS file system APIs use ansistring }
|
||||
{$define SYSUTILS_HAS_ANSISTR_FILEUTIL_IMPL}
|
||||
{ OS has an ansistring/single byte environment variable API }
|
||||
@ -849,7 +852,7 @@ var
|
||||
begin
|
||||
DosError:= 0;
|
||||
|
||||
convPath:=PathConv((ToSingleByteFileSystemEncodedFileName(Path));
|
||||
convPath:=PathConv(ToSingleByteFileSystemEncodedFileName(Path));
|
||||
tmpPath:=convPath+' '+ToSingleByteFileSystemEncodedFileName(ComLine);
|
||||
|
||||
{ Here we must first check if the command we wish to execute }
|
||||
|
Loading…
Reference in New Issue
Block a user