aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/intl.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index c49afa1..a51bdf6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-12 Zack Weinberg <zack@codesourcery.com>
+
+ * intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
+
2003-04-12 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11-protos.h
diff --git a/gcc/intl.h b/gcc/intl.h
index 57d44a8..c3274f7 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 _