OSDN Git Service

* printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
authorbrobecke <brobecke>
Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)
committerbrobecke <brobecke>
Thu, 13 Nov 2008 22:26:15 +0000 (22:26 +0000)
gdb/ChangeLog
gdb/printcmd.c

index 4042830..5b35e05 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 355552d..fe20626 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