From b1d54a4178eeab6e7c7f96fd38bb9ebc2caae46e Mon Sep 17 00:00:00 2001 From: John Ralls Date: Mon, 12 Nov 2012 19:40:09 -0800 Subject: [PATCH] Provide a phony define for the LANGUAGE macro Gobject-introspection encounters it without the definitions in the including code and fails. --- pango/pango-language-sample-table.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pango/pango-language-sample-table.h b/pango/pango-language-sample-table.h index a3ae0c6..2c79387 100644 --- a/pango/pango-language-sample-table.h +++ b/pango/pango-language-sample-table.h @@ -49,6 +49,10 @@ * * Needless to say, the list MUST be sorted on the language code. */ +/* Sacrificial define to make introspection happy. */ +#ifndef LANGUAGE(x, y, z) +#define LANGUAGE(x, y, z) +#endif LANGUAGE( af /* Afrikaans */, GLASS, -- 2.7.4