From 2bab940ad9dd947379188cfa6f5990352660cd25 Mon Sep 17 00:00:00 2001 From: Halton Huo Date: Wed, 23 Dec 2009 16:27:40 +0800 Subject: [PATCH] Add -DGLIB_COMPILATION for GLib-2.0.gir. Otherwise, suncc reports error when parsing /usr/include/glib-2.0/glib/ghostutils.h, and stops parsing rest headers. https://bugzilla.gnome.org/show_bug.cgi?id=605108 --- gir/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/gir/Makefile.am b/gir/Makefile.am index db182f8..d7c32ca 100644 --- a/gir/Makefile.am +++ b/gir/Makefile.am @@ -36,6 +36,7 @@ GLib_2_0_gir_CFLAGS = $(CPPFLAGS) \ -I$(GLIB_INCLUDEDIR) \ -I$(GLIB_LIBDIR)/glib-2.0/include \ -DGETTEXT_PACKAGE=Dummy \ + -DGLIB_COMPILATION \ -D__G_I18N_LIB_H__ GLib_2_0_gir_ASSERTIONS = $(srcdir)/GLib-2.0.xpath GLib_2_0_gir_FILES = \ -- 2.39.2