Add support for WinCE targeted toolchains.
[binutils-gdb.git] / binutils / coffdump.c
index 5cd75cb75f3eedcca1fc30b4149f44a660d2f142..dc84d50917683112270078eb7c999a9dd8bd8ab2 100644 (file)
@@ -1,5 +1,5 @@
 /* Coff file dumper.
-   Copyright (C) 1994, 1998 Free Software Foundation, Inc.
+   Copyright (C) 1994, 1998, 1999 Free Software Foundation, Inc.
 
 This file is part of GNU Binutils.
 
@@ -476,7 +476,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);