aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 9c0798d..bc77e6c 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -225,7 +225,9 @@ main (argc, argv)
int argc;
char **argv;
{
+#ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
+#endif
bindtextdomain (PACKAGE, localedir);
textdomain (PACKAGE);