]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Don't use LONG_LONG when it isn't available.
authorAndrew Cagney <cagney@redhat.com>
Sat, 4 Mar 2000 05:11:19 +0000 (05:11 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 4 Mar 2000 05:11:19 +0000 (05:11 +0000)
gdb/ChangeLog
gdb/language.c

index 6c580be042376109e8c65a34f4c83c67c0f59d52..8a1a98011c06f0a2c952240a138451d4a4acad3a 100644 (file)
@@ -1,3 +1,9 @@
+Sat Mar  4 15:58:40 2000  Andrew Cagney  <cagney@b1.cygnus.com>
+
+       From Sun 20 Feb 2000 Robert Lipe <robertl at sco dot com>:
+       * language.c (longest_local_hex_string_custom): Don't compile
+       'long long' section if host doesn't have 'long long'.
+
 Sat Mar  4 15:45:38 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * language.c (longest_raw_hex_string): Comment out.  Appears
index a32796db8a57c07e20a2e59bcb1aa34fb8fbd322..7370276f3be23badb22b71cec515b8f0b8061688 100644 (file)
@@ -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, "%");