ntdll: Fix compilation on systems that don't support nameless unions.

This commit is contained in:
Francois Gouget 2007-09-18 00:39:43 +02:00 committed by Alexandre Julliard
parent 4dbe1f9164
commit bde9601ee1
1 changed files with 3 additions and 2 deletions

View File

@ -27,6 +27,7 @@
#include <string.h> #include <string.h>
#include <time.h> #include <time.h>
#define NONAMELESSUNION
#include "ntstatus.h" #include "ntstatus.h"
#define WIN32_NO_STATUS #define WIN32_NO_STATUS
#include "wine/debug.h" #include "wine/debug.h"
@ -387,8 +388,8 @@ NTSTATUS WINAPI NtQueryInformationToken(
statistics->TokenId.HighPart = reply->token_id.high_part; statistics->TokenId.HighPart = reply->token_id.high_part;
statistics->AuthenticationId.LowPart = 0; /* FIXME */ statistics->AuthenticationId.LowPart = 0; /* FIXME */
statistics->AuthenticationId.HighPart = 0; /* FIXME */ statistics->AuthenticationId.HighPart = 0; /* FIXME */
statistics->ExpirationTime.HighPart = 0x7fffffff; statistics->ExpirationTime.u.HighPart = 0x7fffffff;
statistics->ExpirationTime.LowPart = 0xffffffff; statistics->ExpirationTime.u.LowPart = 0xffffffff;
statistics->TokenType = reply->primary ? TokenPrimary : TokenImpersonation; statistics->TokenType = reply->primary ? TokenPrimary : TokenImpersonation;
statistics->ImpersonationLevel = reply->impersonation_level; statistics->ImpersonationLevel = reply->impersonation_level;