diff --git a/src/Makefile.am b/src/Makefile.am index 553a7757c..f42516df2 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -30,7 +30,9 @@ libpango_ot_la_SOURCES = \ pango-ot-private.h \ pango-ot-ruleset.c +if BUILD_OT_TESTS noinst_PROGRAMS = ottest +endif ottest_SOURCES = \ ottest.c \ diff --git a/src/disasm.c b/src/disasm.c index 2e064ec20..d55a3593b 100644 --- a/src/disasm.c +++ b/src/disasm.c @@ -19,11 +19,16 @@ * Boston, MA 02111-1307, USA. */ +#include /* For G_HAVE_ISO_VARARGS */ #include #include "disasm.h" +#ifdef G_HAVE_ISO_VARARGS +#define DUMP(...) dump (stream, indent, __VA_ARGS__) +#elif defined (G_HAVE_GNUC_VARARGS) #define DUMP(args...) dump (stream, indent, args) +#endif #define DUMP_FINT(strct,fld) dump (stream, indent, "<" #fld ">%d\n", (strct)->fld) #define DUMP_FUINT(strct,fld) dump (stream, indent, "<" #fld ">%u\n", (strct)->fld) #define DUMP_FGLYPH(strct,fld) dump (stream, indent, "<" #fld ">%#4x\n", (strct)->fld)