[gobject-introspection] -DGLIB_COMPILATION when scanning GLib



commit 65a36a3bdbc161e9fefe997b07b22bcd4c552c86
Author: Colin Walters <walters verbum org>
Date:   Sat Aug 15 20:15:43 2009 -0400

    -DGLIB_COMPILATION when scanning GLib
    
    Some of the GLib headers are now growing checks for single-include;
    override that.

 gir/Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gir/Makefile.am b/gir/Makefile.am
index ab8c2c8..c21b986 100644
--- a/gir/Makefile.am
+++ b/gir/Makefile.am
@@ -43,6 +43,7 @@ GLib-2.0.gir: $(SCANNER_BIN) $(SCANNER_LIBS) Makefile glib-2.0.c
 	    -D__G_I18N_LIB_H__ \
 	    $(GLIB_LIBDIR)/glib-2.0/include/glibconfig.h \
 	    $(srcdir)/glib-2.0.c \
+	    -DGLIB_COMPILATION \
 	    $(GLIB_INCLUDEDIR)/glib/*.h
 	$(SCANNER) $(SCANNER_ARGS) \
 	    --xpath-assertions=$(srcdir)/GLib-2.0.xpath GLib-2.0.gir



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]