mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-05 09:38:50 +01:00
components: fix compilation of LazUtils
git-svn-id: trunk@32686 -
This commit is contained in:
parent
851ffe5bc9
commit
7f7d57f048
@ -365,7 +365,7 @@ var
|
||||
fs: TFileStream;
|
||||
s: String;
|
||||
begin
|
||||
TempFilename:=GetTempFilename(AppendPathDelim(DirectoryName),'tstperm');
|
||||
TempFilename:=SysUtils.GetTempFilename(AppendPathDelim(DirectoryName),'tstperm');
|
||||
Result:=false;
|
||||
try
|
||||
fs:=TFileStream.Create(UTF8ToSys(TempFilename),fmCreate);
|
||||
|
||||
@ -5,6 +5,9 @@ unit LazUTF8;
|
||||
interface
|
||||
|
||||
uses
|
||||
{$ifdef windows}
|
||||
Windows,
|
||||
{$endif}
|
||||
Classes, SysUtils;
|
||||
|
||||
// AnsiToUTF8 and UTF8ToAnsi need a widestring manager under Linux, BSD, MacOSX
|
||||
|
||||
Loading…
Reference in New Issue
Block a user