gobject: Fix compilation on OS X/ppc64
authorMisty De Meo <mistydemeo@gmail.com>
Thu, 19 Sep 2013 06:41:22 +0000 (23:41 -0700)
committerColin Walters <walters@verbum.org>
Thu, 19 Sep 2013 12:39:18 +0000 (08:39 -0400)
commit54e79d7dcb4c0d36ab867e1814ff26b97b4617d9
tree7cdc3c8b2c2272fae284c2beadfc35097f9ecde6
parent85be7acb95dd57243003d3115268a6cbc3ebc8ba
gobject: Fix compilation on OS X/ppc64

Apple's GCC compilers cannot deal well with 64-bit pointers in
transparent unions on ppc64, so compilation of
_G_DEFINE_BOXED_TYPE_BEGIN was failing. Fortunately glib already
provides a fallback for compilers that can't deal with it; this adds
this specific case to the check.

https://bugzilla.gnome.org/show_bug.cgi?id=647145
gobject/gtype.h