winecrt0: Build without -DWINE_NO_LONG_TYPES.

This commit is contained in:
Alexandre Julliard 2022-11-17 10:23:26 +01:00
parent de3a836629
commit e85f5aa6de
2 changed files with 3 additions and 4 deletions

View file

@ -1,4 +1,3 @@
EXTRADEFS = -DWINE_NO_LONG_TYPES
STATICLIB = libwinecrt0.a
C_SRCS = \

View file

@ -191,11 +191,11 @@ static int __cdecl fallback__wine_dbg_header( enum __wine_debug_class cls,
if (TRACE_ON(timestamp))
{
ULONG ticks = GetTickCount();
UINT ticks = GetTickCount();
pos += sprintf( pos, "%3u.%03u:", ticks / 1000, ticks % 1000 );
}
if (TRACE_ON(pid)) pos += sprintf( pos, "%04x:", GetCurrentProcessId() );
pos += sprintf( pos, "%04x:", GetCurrentThreadId() );
if (TRACE_ON(pid)) pos += sprintf( pos, "%04x:", (UINT)GetCurrentProcessId() );
pos += sprintf( pos, "%04x:", (UINT)GetCurrentThreadId() );
if (function && cls < ARRAY_SIZE( debug_classes ))
snprintf( pos, sizeof(buffer) - (pos - buffer), "%s:%s:%s ",
debug_classes[cls], channel->name, function );