From 236fd51020548e5b3d804ab19484d7d2a1d005c3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 12 Jun 2006 12:01:38 +0200 Subject: [PATCH] uuid: Mark all GUID variables as hidden. --- dlls/uuid/uuid.c | 1 + include/guiddef.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index 21b0ee1edcd..2b30313e7de 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -21,6 +21,7 @@ #include +#include "windef.h" #define COM_NO_WINDOWS_H #include "initguid.h" diff --git a/include/guiddef.h b/include/guiddef.h index 749a37cee54..8ad314e0f6b 100644 --- a/include/guiddef.h +++ b/include/guiddef.h @@ -32,16 +32,18 @@ typedef struct _GUID #ifdef INITGUID #ifdef __cplusplus #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + EXTERN_C const GUID name DECLSPEC_HIDDEN; \ EXTERN_C const GUID name = \ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } #else #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ + const GUID name DECLSPEC_HIDDEN; \ const GUID name = \ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } } #endif #else #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \ - EXTERN_C const GUID name + EXTERN_C const GUID name DECLSPEC_HIDDEN #endif #define DEFINE_OLEGUID(name, l, w1, w2) \