mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 11:56:16 +01:00
Merge branch 'wip/pwithnall/credentials-fix' into 'master'
gmacros: Use __typeof__ when compiling with Clang See merge request GNOME/glib!1714
This commit is contained in:
commit
51f30ccb85
@ -232,7 +232,9 @@
|
||||
* This symbol is private.
|
||||
*/
|
||||
#undef glib_typeof
|
||||
#if defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8)) && !defined(__cplusplus)
|
||||
#if !defined(__cplusplus) && \
|
||||
((defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 8))) || \
|
||||
defined(__clang__))
|
||||
#define glib_typeof(t) __typeof__ (t)
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user