From bde9601ee10f1a4785d062efc32c208e03a9f717 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Tue, 18 Sep 2007 00:39:43 +0200 Subject: [PATCH] ntdll: Fix compilation on systems that don't support nameless unions. --- dlls/ntdll/nt.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 8354fee4b6b..15fb5077f03 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -27,6 +27,7 @@ #include #include +#define NONAMELESSUNION #include "ntstatus.h" #define WIN32_NO_STATUS #include "wine/debug.h" @@ -387,8 +388,8 @@ NTSTATUS WINAPI NtQueryInformationToken( statistics->TokenId.HighPart = reply->token_id.high_part; statistics->AuthenticationId.LowPart = 0; /* FIXME */ statistics->AuthenticationId.HighPart = 0; /* FIXME */ - statistics->ExpirationTime.HighPart = 0x7fffffff; - statistics->ExpirationTime.LowPart = 0xffffffff; + statistics->ExpirationTime.u.HighPart = 0x7fffffff; + statistics->ExpirationTime.u.LowPart = 0xffffffff; statistics->TokenType = reply->primary ? TokenPrimary : TokenImpersonation; statistics->ImpersonationLevel = reply->impersonation_level;