diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 22:26:15 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-11-13 22:26:15 +0000 |
commit | 06be140c21c96663f74061fb7f1375020196655e (patch) | |
tree | e02fc53270f2badcf190069cbc91b6641415fb5b | |
parent | 759cc328c6097b831eec8c85adf91b011a077378 (diff) | |
download | gdb-06be140c21c96663f74061fb7f1375020196655e.zip gdb-06be140c21c96663f74061fb7f1375020196655e.tar.gz gdb-06be140c21c96663f74061fb7f1375020196655e.tar.bz2 |
* printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/printcmd.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4042830..5b35e05 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -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 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 |