__SIZEOF_INT__ and __SIZEOF_POINTER__ may not be defined.
Protect __SIZEOF_INT__ and __SIZEOF_POINTER__ with an ifdef to prevent warnings about them not being defined when including gtktextattributes.h. https://bugzilla.gnome.org/show_bug.cgi?id=660619
This commit is contained in:
parent
8985ce3b72
commit
f44b8465f1
@ -104,7 +104,7 @@ struct _GtkTextAppearance
|
|||||||
|
|
||||||
GdkRGBA *rgba[2];
|
GdkRGBA *rgba[2];
|
||||||
|
|
||||||
#if __SIZEOF_INT__ == __SIZEOF_POINTER__
|
#if (defined(__SIZEOF_INT__) && defined(__SIZEOF_POINTER__)) && (__SIZEOF_INT__ == __SIZEOF_POINTER__)
|
||||||
/* unusable, just for ABI compat */
|
/* unusable, just for ABI compat */
|
||||||
guint padding[2];
|
guint padding[2];
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user