From: Chris Hanson Date: Mon, 22 Mar 2010 07:14:05 +0000 (-0700) Subject: Use %td only if C99 is supported. X-Git-Tag: 20100708-Gtk~77 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=938def96ce22b67378d594b555ae15a85ccd8604;p=mit-scheme.git Use %td only if C99 is supported. --- 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)); }