forked from Mirrors/wine-wine
advapi32: Fix compilation on systems that don't support nameless unions.
parent
fa64a7d842
commit
fbc5935764
|
@ -28,6 +28,8 @@
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#define NONAMELESSUNION
|
||||||
|
|
||||||
#include "ntstatus.h"
|
#include "ntstatus.h"
|
||||||
#define WIN32_NO_STATUS
|
#define WIN32_NO_STATUS
|
||||||
#include "windef.h"
|
#include "windef.h"
|
||||||
|
@ -2214,7 +2216,7 @@ BOOL WINAPI ChangeServiceConfig2W( SC_HANDLE hService, DWORD dwInfoLevel,
|
||||||
SC_RPC_CONFIG_INFOW info;
|
SC_RPC_CONFIG_INFOW info;
|
||||||
|
|
||||||
info.dwInfoLevel = dwInfoLevel;
|
info.dwInfoLevel = dwInfoLevel;
|
||||||
info.descr = lpInfo;
|
info.u.descr = lpInfo;
|
||||||
err = svcctl_ChangeServiceConfig2W( hService, info );
|
err = svcctl_ChangeServiceConfig2W( hService, info );
|
||||||
}
|
}
|
||||||
__EXCEPT(rpc_filter)
|
__EXCEPT(rpc_filter)
|
||||||
|
|
Loading…
Reference in New Issue