From 938def96ce22b67378d594b555ae15a85ccd8604 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 22 Mar 2010 00:14:05 -0700 Subject: [PATCH] Use %td only if C99 is supported. --- src/microcode/gcloop.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/microcode/gcloop.c b/src/microcode/gcloop.c index 0e7931cf5..52dfcdf0c 100644 --- a/src/microcode/gcloop.c +++ b/src/microcode/gcloop.c @@ -928,7 +928,12 @@ check_newspace_sync (void) { if ((newspace_next - newspace_start) != (tospace_next - tospace_start)) - std_gc_death ("mismatch between newspace and tospace ptrs: %td/%td", + std_gc_death ( +#ifdef HAVE_STDC_99 + "mismatch between newspace and tospace ptrs: %td/%td", +#else + "mismatch between newspace and tospace ptrs: %d/%d", +#endif (newspace_next - newspace_start), (tospace_next - tospace_start)); } -- 2.25.1