int verbose = 0;
-bfd_boolean target_is_bigendian = 0;
+bool target_is_bigendian = 0;
const char *def_target_arch;
static void set_endianness (bfd *, const char *);
buf = (char *) xmalloc (buflen);
}
-#if defined (_WIN32) && !defined (__CYGWIN__)
- /* For Windows shells, quote "like this". */
- {
- bfd_boolean quoted = FALSE;
-
- dest = buf;
- if (strchr (string, ' '))
- {
- quoted = TRUE;
- *dest++ = '"';
- }
-
- for (src = string; *src; src++, dest++)
- {
- /* Escape-protect embedded double quotes. */
- if (quoted && *src == '"')
- *dest++ = '\\';
- *dest = *src;
- }
-
- if (quoted)
- *dest++ = '"';
- }
-#else
for (src = string, dest = buf; *src; src++, dest++)
{
if (*src == '(' || *src == ')' || *src == ' ')
*dest++ = '\\';
*dest = *src;
}
-#endif
+
*dest = 0;
return buf;
}
rc_res_directory *resources;
int use_temp_file;
-#if defined (HAVE_SETLOCALE) && defined (HAVE_LC_MESSAGES)
+#ifdef HAVE_LC_MESSAGES
setlocale (LC_MESSAGES, "");
#endif
-#if defined (HAVE_SETLOCALE)
setlocale (LC_CTYPE, "");
-#endif
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);