diff options
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r-- | gcc/cppmain.c | 5 |
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; |