This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit] printcmd.c: Do not re-define PRINTF_HAS_LONG_LONG if already defined


Hello,

When building the 32bit debugger on an x86_64 Windows machine, everything
seems to be working great, except for the a build failure due to us
trying to re-define PRINTF_HAS_LONG_LONG.

What happened is that PRINTF_HAS_LONG_LONG is not defined on ia32
Windows machines, whereas it is on the x86_64 versions. The code,
however, assumes that on all Windows hosts, PRINTF_HAS_LONG_LONG
is not defined.

Fixed thusly.

2008-11-13  Joel Brobecker  <brobecker@adacore.com>

      * printcmd.c: define PRINTF_HAS_LONG_LONG only if not yet defined.

Tested on an x86_64-windows host and checked in.

-- 
Joel

Attachment: printcmd.c.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]