summaryrefslogtreecommitdiff
path: root/gcc/intl.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-12 18:07:06 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-12 18:07:06 +0000
commitd0a20a0fefdb8c2d535c660a2ed696e852a1be4b (patch)
tree5dc781e893303cba5531a0313f6b03e3fbcd2c77 /gcc/intl.h
parent48c9cd54610b0c89dcd1b1d73330277145915312 (diff)
downloadgcc-d0a20a0fefdb8c2d535c660a2ed696e852a1be4b.tar.gz
* configure.in: Check for wchar.h, mbstowcs, and wcswidth.
* configure, config.in: Regenerate. * intl.c (gcc_gettext_width): New function. * intl.h: Prototype it. cp: * call.c (print_z_candidates): Use gcc_gettext_width, not strlen, to determine how much padding to use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65517 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/intl.h')
-rw-r--r--gcc/intl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/intl.h b/gcc/intl.h
index 8a9b35a66fd..57d44a80b21 100644
--- a/gcc/intl.h
+++ b/gcc/intl.h
@@ -39,6 +39,7 @@
#ifdef ENABLE_NLS
extern void gcc_init_libintl PARAMS ((void));
+extern size_t gcc_gettext_width PARAMS ((const char *));
#else
/* Stubs. */
# undef textdomain