mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 04:45:43 +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 } }
|
||||
#endif
|
||||
#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) \
|
||||
EXTERN_C const GUID name
|
||||
#endif // __GNUC__ >= 7
|
||||
#endif
|
||||
|
||||
#define DEFINE_OLEGUID(name, l, w1, w2) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue