start: Enable compilation with long types.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Eric Pouech 2022-02-07 08:39:55 +01:00 committed by Alexandre Julliard
parent bd298b4a02
commit e704f0372e
2 changed files with 2 additions and 3 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = start.exe
IMPORTS = shell32 user32

View File

@ -98,7 +98,7 @@ static void fatal_string_error(int which, DWORD error_code, const WCHAR *filenam
WCHAR msg[2048];
if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg)))
WINE_ERR("LoadString failed, error %d\n", GetLastError());
WINE_ERR("LoadString failed, error %ld\n", GetLastError());
fatal_error(msg, error_code, filename);
}
@ -108,7 +108,7 @@ static void fatal_string(int which)
WCHAR msg[2048];
if (!LoadStringW(GetModuleHandleW(NULL), which, msg, ARRAY_SIZE(msg)))
WINE_ERR("LoadString failed, error %d\n", GetLastError());
WINE_ERR("LoadString failed, error %ld\n", GetLastError());
output(msg);
ExitProcess(1);