GNOME Bugzilla – Bug 73550
glib doesn't compile if G_GINT64_FORMAT is undefined
Last modified: 2011-02-18 15:47:43 UTC
If G_GINT64_FORMAT or G_GUINT64_FORMAT are undefined, glib doesn't compile because it tries to register a value_transform_func with undefined functions. I'll attach a small patch that fixes this problem by enclosing the calls to g_value_register_transform_func() in #ifdef's.
Created attachment 6988 [details] [review] patch to make glib compile if G_GINT64_FORMAT is undefined
Go ahead and commit.
2002-03-05 Sven Neumann <sven@gimp.org> * gvaluetransform.c (g_value_transforms_init): don't try to register undeclared value transform functions if G_GINT64_FORMAT or G_GUINT64_FORMAT are undefined (#73586).