[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: advapi32: Fix compilation on systems that don't support nameless unions.
From: Francois Gouget <fgouget () free ! fr>
Date: 2015-02-28 10:24:54
Message-ID: alpine.DEB.2.11.1502281124420.30911 () amboise
[Download RAW message or body]
---
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic