summaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-27 01:43:17 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1999-01-27 01:43:17 +0000
commitbe2828ce3a45f1a520b7d3e932b1fead7462ec7e (patch)
treee7daf0f28ecb5da9660b21aee68e6919f846c183 /gcc/cppmain.c
parent6bc988cda5e493c3e632a2d82be7ea8763a618e2 (diff)
downloadgcc-be2828ce3a45f1a520b7d3e932b1fead7462ec7e.tar.gz
Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog for
details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24879 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 672c0f4390f..764114f3880 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -30,6 +30,7 @@ extern char *getenv ();
#endif /* not EMACS */
#include "cpplib.h"
+#include "intl.h"
char *progname;
@@ -68,6 +69,10 @@ main (argc, argv)
while (p != argv[0] && p[-1] != '/') --p;
progname = p;
+ setlocale (LC_MESSAGES, "");
+ bindtextdomain (PACKAGE, localedir);
+ textdomain (PACKAGE);
+
cpp_reader_init (&parse_in);
parse_in.opts = opts;