Add support for WinCE targeted toolchains.
[binutils-gdb.git] / binutils / sysdump.c
index 6810f6f14e9fa03ddafb2adc836290db45bf886f..c821e8cf457ba54c7ef0093587560b0079a0c46f 100644 (file)
@@ -1,5 +1,5 @@
 /* Sysroff object format dumper.
-   Copyright (C) 1994, 95, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1994, 95, 98, 1999 Free Software Foundation, Inc.
 
    This file is part of GNU Binutils.
 
@@ -735,7 +735,7 @@ main (ac, av)
     {NULL, no_argument, 0, 0}
   };
 
-#ifdef HAVE_SETLOCALE
+#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
   setlocale (LC_MESSAGES, "");
 #endif
   bindtextdomain (PACKAGE, LOCALEDIR);