[PATCH] Fix definition of EXTERN_GUID

Nikolay Sivov nsivov at codeweavers.com
Thu Jun 1 09:46:11 CDT 2017


From: Michael Müller <michael at fds-team.de>

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 include/rpcndr.h | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/include/rpcndr.h b/include/rpcndr.h
index f795566703..9029950921 100644
--- a/include/rpcndr.h
+++ b/include/rpcndr.h
@@ -45,9 +45,7 @@ extern "C" {
 	{ l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }
 #else
 #define EXTERN_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
-        const GUID DECLSPEC_SELECTANY name DECLSPEC_HIDDEN; \
-        const GUID DECLSPEC_SELECTANY name = \
-	{ l, w1, w2, { b1, b2,  b3,  b4,  b5,  b6,  b7,  b8 } }
+        EXTERN_C const GUID name
 #endif
 #endif
 
-- 
2.11.0




More information about the wine-patches mailing list