ntdll: Fix compilation on systems that don't support nameless unions.
This commit is contained in:
parent
4dbe1f9164
commit
bde9601ee1
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue