* printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
authorJoel Brobecker <brobecker@gnat.com>
Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)
gdb/ChangeLog
gdb/printcmd.c

index 4042830eedac4d20e6d66220f23d7679cc22a954..5b35e051181c755ccf8428f6a0a5742ac9d39b00 100644 (file)
@@ -1,3 +1,7 @@
+2008-11-13  Joel Brobecker  <brobecker@adacore.com>
+
+       * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
+
 2008-11-13  Ulrich Weigand  <uweigand@de.ibm.com>
 
        * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and
index 355552db5e0aa8c59b1c98abbfce89e4e7618496..fe2062657729e1cece7bf698f24ffd4334b42b7f 100644 (file)
@@ -48,7 +48,7 @@
 #include "tui/tui.h"           /* For tui_active et.al.   */
 #endif
 
-#if defined(__MINGW32__)
+#if defined(__MINGW32__) && !defined(PRINTF_HAS_LONG_LONG)
 # define USE_PRINTF_I64 1
 # define PRINTF_HAS_LONG_LONG
 #else