advapi32: Fix compilation on systems that don't support nameless unions.
Francois Gouget
fgouget at free.fr
Sat Feb 28 04:24:54 CST 2015
---
dlls/advapi32/service.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/advapi32/service.c b/dlls/advapi32/service.c
index f9b370b..0eb0a47 100644
--- a/dlls/advapi32/service.c
+++ b/dlls/advapi32/service.c
@@ -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)
--
2.1.4
More information about the wine-patches
mailing list