Module: wine Branch: refs/heads/master Commit: 236fd51020548e5b3d804ab19484d7d2a1d005c3 URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=236fd51020548e5b3d804ab1...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jun 12 12:01:38 2006 +0200
uuid: Mark all GUID variables as hidden.
---
dlls/uuid/uuid.c | 1 + include/guiddef.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/dlls/uuid/uuid.c b/dlls/uuid/uuid.c index 21b0ee1..2b30313 100644 --- a/dlls/uuid/uuid.c +++ b/dlls/uuid/uuid.c @@ -21,6 +21,7 @@
#include <stdarg.h>
+#include "windef.h" #define COM_NO_WINDOWS_H #include "initguid.h"
diff --git a/include/guiddef.h b/include/guiddef.h index 749a37c..8ad314e 100644 --- a/include/guiddef.h +++ b/include/guiddef.h @@ -32,16 +32,18 @@ #undef DEFINE_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) \