8244183: linker error jpackageapplauncher on Windows 32bit

Reviewed-by: asemenyuk
This commit is contained in:
Matthias Baesken 2020-05-06 17:24:47 +02:00
parent 58a34f7c32
commit c3e3459027

View File

@ -136,10 +136,9 @@ void launchApp() {
} // namespace
#ifndef JP_LAUNCHERW
int APIENTRY wmain() {
int __cdecl wmain() {
return AppLauncher::launch(std::nothrow, launchApp);
}
@ -242,7 +241,7 @@ void launchAppW() {
} // namespace
int APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int) {
int __stdcall wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int) {
LastErrorGuiLogAppender lastErrorLogAppender;
TeeLogAppender logAppender(&AppLauncher::defaultLastErrorLogAppender(),
&lastErrorLogAppender);