Fixed DEFINE_PROPERTYKEY define (an update from Wine)

git-svn-id: svn+ssh://svn.code.sf.net/p/mingw-w64/code/trunk@4255 4407c894-4637-0410-b4f5-ada5f102cad1
This commit is contained in:
Jacek Caban 2011-07-08 12:33:15 +00:00
parent 1576f90a01
commit 41a6cc4101

View File

@ -33,18 +33,16 @@
#ifdef INITGUID
#ifdef __cplusplus
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
EXTERN_C const PROPERTYKEY name = \
EXTERN_C const PROPERTYKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#else
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY; \
const PROPERTYKEY name = \
const PROPERTYKEY DECLSPEC_SELECTANY name = \
{ { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }, pid }
#endif
#else
#define DEFINE_PROPERTYKEY(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8, pid) \
EXTERN_C const PROPERTYKEY name DECLSPEC_HIDDEN DECLSPEC_SELECTANY
EXTERN_C const PROPERTYKEY name
#endif
#ifndef IsEqualPropertyKey