mirror of
https://git.code.sf.net/p/mingw-w64/mingw-w64
synced 2024-12-12 11:23:37 +08:00
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:
parent
1576f90a01
commit
41a6cc4101
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user