aboutsummaryrefslogtreecommitdiff
path: root/gdb/language.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2000-03-04 05:11:19 +0000
committerAndrew Cagney <cagney@redhat.com>2000-03-04 05:11:19 +0000
commit392746e5637d18b37ece0ffa5b38ab21d1ce6772 (patch)
tree5646bbc9dff52afd6f51ecde414c4255be0ef32f /gdb/language.c
parent7acb79c8836539cd0ce849e99cb0ae817f972422 (diff)
downloadfsf-binutils-gdb-392746e5637d18b37ece0ffa5b38ab21d1ce6772.zip
fsf-binutils-gdb-392746e5637d18b37ece0ffa5b38ab21d1ce6772.tar.gz
fsf-binutils-gdb-392746e5637d18b37ece0ffa5b38ab21d1ce6772.tar.bz2
Don't use LONG_LONG when it isn't available.
Diffstat (limited to 'gdb/language.c')
-rw-r--r--gdb/language.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gdb/language.c b/gdb/language.c
index a32796d..7370276 100644
--- a/gdb/language.c
+++ b/gdb/language.c
@@ -630,9 +630,7 @@ longest_local_hex_string_custom (num, width)
can use local_hex_string_custom
*/
return local_hex_string_custom ((unsigned long) num, width);
-#endif
-
-#if defined (PRINTF_HAS_LONG_LONG)
+#elif defined (PRINTF_HAS_LONG_LONG)
/* Just use printf. */
strcpy (format, local_hex_format_prefix ()); /* 0x */
strcat (format, "%");