aboutsummaryrefslogtreecommitdiff
path: root/gdb/printcmd.c
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2008-11-13 22:26:15 +0000
committerJoel Brobecker <brobecker@gnat.com>2008-11-13 22:26:15 +0000
commit06be140c21c96663f74061fb7f1375020196655e (patch)
treee02fc53270f2badcf190069cbc91b6641415fb5b /gdb/printcmd.c
parent759cc328c6097b831eec8c85adf91b011a077378 (diff)
downloadgdb-06be140c21c96663f74061fb7f1375020196655e.zip
gdb-06be140c21c96663f74061fb7f1375020196655e.tar.gz
gdb-06be140c21c96663f74061fb7f1375020196655e.tar.bz2
* printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r--gdb/printcmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c
index 355552d..fe20626 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