Francois Gouget : ntdll: Fix compilation on systems that don' t support nameless unions.
Module: wine Branch: master Commit: bde9601ee10f1a4785d062efc32c208e03a9f717 URL: http://source.winehq.org/git/wine.git/?a=commit;h=bde9601ee10f1a4785d062efc3... Author: Francois Gouget <fgouget(a)free.fr> Date: Tue Sep 18 00:39:43 2007 +0200 ntdll: Fix compilation on systems that don't support nameless unions. --- dlls/ntdll/nt.c | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c index 8354fee..15fb507 100644 --- a/dlls/ntdll/nt.c +++ b/dlls/ntdll/nt.c @@ -27,6 +27,7 @@ #include <string.h> #include <time.h> +#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;
participants (1)
-
Alexandre Julliard