mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
[PSDK] Add DECLSPEC_SELECTANY to GUIDs to make GCC 8 happy
This commit is contained in:
parent
cd9f9e8b94
commit
846cd55294
1 changed files with 5 additions and 0 deletions
|
@ -61,8 +61,13 @@ typedef struct _GUID
|
||||||
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
{ l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
|
#if __GNUC__ >= 8
|
||||||
|
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
||||||
|
EXTERN_C const GUID DECLSPEC_SELECTANY name
|
||||||
|
#else
|
||||||
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
|
#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
|
||||||
|
#endif // __GNUC__ >= 7
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define DEFINE_OLEGUID(name, l, w1, w2) \
|
#define DEFINE_OLEGUID(name, l, w1, w2) \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue