From 06be140c21c96663f74061fb7f1375020196655e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Thu, 13 Nov 2008 22:26:15 +0000 Subject: [PATCH] * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined. --- gdb/ChangeLog | 4 ++++ gdb/printcmd.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4042830eeda..5b35e051181 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2008-11-13 Joel Brobecker + + * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined. + 2008-11-13 Ulrich Weigand * auxv.c (fprint_target_auxv): Handle AT_BASE_PLATFORM and diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 355552db5e0..fe206265772 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -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 -- 2.30.2