Commit e85f5aa6 authored by Alexandre Julliard's avatar Alexandre Julliard

winecrt0: Build without -DWINE_NO_LONG_TYPES.

parent de3a8366
EXTRADEFS = -DWINE_NO_LONG_TYPES
STATICLIB = libwinecrt0.a STATICLIB = libwinecrt0.a
C_SRCS = \ C_SRCS = \
......
...@@ -191,11 +191,11 @@ static int __cdecl fallback__wine_dbg_header( enum __wine_debug_class cls, ...@@ -191,11 +191,11 @@ static int __cdecl fallback__wine_dbg_header( enum __wine_debug_class cls,
if (TRACE_ON(timestamp)) if (TRACE_ON(timestamp))
{ {
ULONG ticks = GetTickCount(); UINT ticks = GetTickCount();
pos += sprintf( pos, "%3u.%03u:", ticks / 1000, ticks % 1000 ); pos += sprintf( pos, "%3u.%03u:", ticks / 1000, ticks % 1000 );
} }
if (TRACE_ON(pid)) pos += sprintf( pos, "%04x:", GetCurrentProcessId() ); if (TRACE_ON(pid)) pos += sprintf( pos, "%04x:", (UINT)GetCurrentProcessId() );
pos += sprintf( pos, "%04x:", GetCurrentThreadId() ); pos += sprintf( pos, "%04x:", (UINT)GetCurrentThreadId() );
if (function && cls < ARRAY_SIZE( debug_classes )) if (function && cls < ARRAY_SIZE( debug_classes ))
snprintf( pos, sizeof(buffer) - (pos - buffer), "%s:%s:%s ", snprintf( pos, sizeof(buffer) - (pos - buffer), "%s:%s:%s ",
debug_classes[cls], channel->name, function ); debug_classes[cls], channel->name, function );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment