winoldap.mod16: 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:41:32 +01:00 committed by Alexandre Julliard
parent d909d34f4f
commit a513e0673f
2 changed files with 1 additions and 2 deletions

View File

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
MODULE = winoldap.mod16
EXTRADLLFLAGS = -mconsole -m16

View File

@ -74,7 +74,7 @@ WORD WINAPI WinMain16( HINSTANCE16 inst, HINSTANCE16 prev, LPSTR cmdline, WORD s
{
/* Give 10 seconds to the app to come up */
if (wait_input_idle( info.hProcess, 10000 ) == WAIT_FAILED)
WINE_WARN("WaitForInputIdle failed: Error %d\n", GetLastError() );
WINE_WARN("WaitForInputIdle failed: Error %ld\n", GetLastError() );
ReleaseThunkLock( &count );
WaitForSingleObject( info.hProcess, INFINITE );
RestoreThunkLock( count );