aboutsummaryrefslogtreecommitdiff
path: root/libcpp
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2004-05-24 15:04:09 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2004-05-24 15:04:09 +0000
commitc86dd7db77896014952396f60db88ce551b5a431 (patch)
treecfcebfdce82ee88a362d6492e463dfc23a7bb57b /libcpp
parent7599f1b0501ea3dec6d5c7afc72072b7d658d9b8 (diff)
downloadgcc-c86dd7db77896014952396f60db88ce551b5a431.zip
gcc-c86dd7db77896014952396f60db88ce551b5a431.tar.gz
gcc-c86dd7db77896014952396f60db88ce551b5a431.tar.bz2
system.h: dgettext takes two parameters.
2004-05-24 Paolo Bonzini <bonzini@gnu.org> * system.h [!ENABLE_NLS]: dgettext takes two parameters. From-SVN: r82204
Diffstat (limited to 'libcpp')
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/system.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 84a0b83..5a1c325 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -1,3 +1,8 @@
+2004-05-24 Paolo Bonzini <bonzini@gnu.org>
+
+ * system.h [!ENABLE_NLS]: dgettext takes two
+ parameters.
+
2004-05-23 Paolo Bonzini <bonzini@gnu.org>
Moved libcpp from the gcc subdirectory to the toplevel.
diff --git a/libcpp/system.h b/libcpp/system.h
index c432595..3577311 100644
--- a/libcpp/system.h
+++ b/libcpp/system.h
@@ -183,7 +183,7 @@ extern int errno;
#else
/* Stubs. */
# undef dgettext
-# define dgettext(msgid) (msgid)
+# define dgettext(package, msgid) (msgid)
#endif
#ifndef _