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:
joost 2014-03-16 10:35:38 +00:00
parent 6974915b8b
commit 618ce88805

View File

@ -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);