projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
PR27861, Infinite loop in dwarf.c:7507-7526
[binutils-gdb.git]
/
binutils
/
windmc.c
diff --git
a/binutils/windmc.c
b/binutils/windmc.c
index c191cd739b88ae277f0b4a0a27fba2155d3b9a47..0ae4fe9b43d953d92aa5c0db2a3654432742cdd4 100644
(file)
--- a/
binutils/windmc.c
+++ b/
binutils/windmc.c
@@
-50,7
+50,7
@@
typedef struct mc_msg_item
struct bin_messagetable_item *res;
} mc_msg_item;
struct bin_messagetable_item *res;
} mc_msg_item;
-b
fd_boolean
target_is_bigendian = 0;
+b
ool
target_is_bigendian = 0;
const char *def_target_arch;
/* Globals and static variable definitions. */
const char *def_target_arch;
/* Globals and static variable definitions. */
@@
-941,12
+941,10
@@
main (int argc, char **argv)
char *target, *input_filename;
int verbose;
char *target, *input_filename;
int verbose;
-#if
defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
+#if
def HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
#endif
setlocale (LC_MESSAGES, "");
#endif
-#if defined (HAVE_SETLOCALE)
setlocale (LC_CTYPE, "");
setlocale (LC_CTYPE, "");
-#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);