summaryrefslogtreecommitdiff
path: root/gcc/hwint.h
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 14:20:20 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-22 14:20:20 +0000
commitfe0e3c2a0efe63130f3e54e31d6fdbf51cb75b9d (patch)
tree9d32c3466f95348f1df5f8b7e1d421e33826335c /gcc/hwint.h
parent7016e1d108cf000fe623b15ff4eeb086f326d949 (diff)
downloadgcc-fe0e3c2a0efe63130f3e54e31d6fdbf51cb75b9d.tar.gz
* 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
Diffstat (limited to 'gcc/hwint.h')
-rw-r--r--gcc/hwint.h3
1 files changed, 3 insertions, 0 deletions
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 */