From 259891cf6d3e484b25a00143b5314e0b6fc898a8 Mon Sep 17 00:00:00 2001 From: wp Date: Mon, 13 Jan 2020 11:46:47 +0000 Subject: [PATCH] Fix compilation of LazHelpHtml for WinCE. Issue #36558. git-svn-id: trunk@62542 - --- lcl/lazhelphtml.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lcl/lazhelphtml.pas b/lcl/lazhelphtml.pas index 4a7b44a36a..ac4ede69cb 100644 --- a/lcl/lazhelphtml.pas +++ b/lcl/lazhelphtml.pas @@ -18,7 +18,7 @@ unit LazHelpHTML; interface uses - {$IFDEF Windows}Windows, ShellApi,{$ENDIF} + {$IFDEF MSWindows}Windows, ShellApi,{$ENDIF} // needed for ShellExecute, not good for WinCE, issue #36558 Classes, SysUtils, // LazUtils LazFileUtils, UTF8Process, LazUTF8, LazConfigStorage, @@ -383,7 +383,7 @@ begin {$ENDIF} // run - {$IFDEF Windows} + {$IFDEF MSWindows} // not good for WinCE! Issue #36558. // Special handling for Microsoft Edge in Win10, issue #35659 if IsShellStr then begin if ShellExecute(0,'open',PChar(Executable),PChar(ParamsStr),'',SW_SHOWNORMAL)<=32 then