mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 18:17:13 +01:00
FpDbg: Placed some Windows-specific code between ifdef's to fix compilation on non-Windows systems.
git-svn-id: trunk@44438 -
This commit is contained in:
parent
6974915b8b
commit
618ce88805
@ -438,7 +438,7 @@ begin
|
||||
WriteLN('No filename set');
|
||||
Exit;
|
||||
end;
|
||||
|
||||
{$ifdef windows}
|
||||
hFile := CreateFile(PChar(GFileName), GENERIC_READ, FILE_SHARE_READ, nil, OPEN_EXISTING, FILE_FLAG_RANDOM_ACCESS, 0);
|
||||
if hFile = INVALID_HANDLE_VALUE
|
||||
then begin
|
||||
@ -463,6 +463,7 @@ begin
|
||||
CloseHandle(hMap);
|
||||
CloseHandle(hFile);
|
||||
end;
|
||||
{$endif windows}
|
||||
end;
|
||||
|
||||
procedure HandleShowCallStack(AParams: String);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user