aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-04-12 23:07:34 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-04-12 23:07:34 +0000
commitc85b28e8f3aa4f0aa6fadcf9905aa0b87538ad54 (patch)
treecf2f4f7014dd5a04f205172172f713364d2480d0
parentcebcfdc87f29ba2dcbcb72052999a1795df34c34 (diff)
downloadgcc-c85b28e8f3aa4f0aa6fadcf9905aa0b87538ad54.zip
gcc-c85b28e8f3aa4f0aa6fadcf9905aa0b87538ad54.tar.gz
gcc-c85b28e8f3aa4f0aa6fadcf9905aa0b87538ad54.tar.bz2
* intl.h: #define gcc_gettext_width to strlen when !ENABLE_NLS.
From-SVN: r65531
-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 _