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

This commit is contained in:
Francois Gouget 2015-02-28 11:24:54 +01:00 committed by Alexandre Julliard
parent fa64a7d842
commit fbc5935764
1 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,8 @@
#include <time.h>
#include <assert.h>
#define NONAMELESSUNION
#include "ntstatus.h"
#define WIN32_NO_STATUS
#include "windef.h"
@ -2214,7 +2216,7 @@ BOOL WINAPI ChangeServiceConfig2W( SC_HANDLE hService, DWORD dwInfoLevel,
SC_RPC_CONFIG_INFOW info;
info.dwInfoLevel = dwInfoLevel;
info.descr = lpInfo;
info.u.descr = lpInfo;
err = svcctl_ChangeServiceConfig2W( hService, info );
}
__EXCEPT(rpc_filter)