From fe0e3c2a0efe63130f3e54e31d6fdbf51cb75b9d Mon Sep 17 00:00:00 2001 From: amylaar Date: Mon, 22 Jul 2002 14:20:20 +0000 Subject: * hwint.c (define HOST_WIDE_INT_PRINT_DEC_C): New define. * genrecog.c (write_switch, write_cond): Use it. * genemit.c (gen_exp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55647 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/hwint.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gcc/hwint.h') diff --git a/gcc/hwint.h b/gcc/hwint.h index ea8be55fcdb..9589c321a78 100644 --- a/gcc/hwint.h +++ b/gcc/hwint.h @@ -72,11 +72,14 @@ #ifndef HOST_WIDE_INT_PRINT_DEC # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_INT # define HOST_WIDE_INT_PRINT_DEC "%d" +# define HOST_WIDE_INT_PRINT_DEC_C "%d" # else # if HOST_BITS_PER_WIDE_INT == HOST_BITS_PER_LONG # define HOST_WIDE_INT_PRINT_DEC "%ld" +# define HOST_WIDE_INT_PRINT_DEC_C "%ldL" # else # define HOST_WIDE_INT_PRINT_DEC "%lld" +# define HOST_WIDE_INT_PRINT_DEC_C "%lldLL" # endif # endif #endif /* ! HOST_WIDE_INT_PRINT_DEC */ -- cgit v1.2.1