- Use DECLSPEC_SELECTANY so multiple definitions will not cause a problem

svn path=/trunk/; revision=41238
This commit is contained in:
Cameron Gutman 2009-06-01 18:59:44 +00:00
parent b2ca874ca9
commit 2d1234a73d

View file

@ -48,11 +48,11 @@ 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 = \
EXTERN_C const GUID DECLSPEC_SELECTANY 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 = \
const GUID DECLSPEC_SELECTANY name = \
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
#endif
#else