summaryrefslogtreecommitdiff
path: root/gcc/intl.h
diff options
context:
space:
mode:
authorzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-12 23:07:34 +0000
committerzack <zack@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-12 23:07:34 +0000
commit0f149691457833850c7157dea0ead1574306685f (patch)
treecf2f4f7014dd5a04f205172172f713364d2480d0 /gcc/intl.h
parent77f85b6ead93ef444e8cdcb6d9bbbd4623e64f6b (diff)
downloadgcc-0f149691457833850c7157dea0ead1574306685f.tar.gz
* intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65531 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 57d44a80b21..c3274f70d0a 100644
--- a/gcc/intl.h
+++ b/gcc/intl.h
@@ -49,6 +49,7 @@ extern size_t gcc_gettext_width PARAMS ((const char *));
# undef gettext
# define gettext(msgid) (msgid)
# define gcc_init_libintl() /* nothing */
+# define gcc_gettext_width(s) strlen(s)
#endif
#ifndef _