diff options
Diffstat (limited to 'gdb/config/powerpc/xm-aix.h')
-rw-r--r-- | gdb/config/powerpc/xm-aix.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/config/powerpc/xm-aix.h b/gdb/config/powerpc/xm-aix.h index f1ebb5e..efd0e74 100644 --- a/gdb/config/powerpc/xm-aix.h +++ b/gdb/config/powerpc/xm-aix.h @@ -22,3 +22,9 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ /* This doesn't seem to be declared in any header file I can find. */ char *termdef PARAMS ((int, int)); + +/* UINT_MAX is defined in <sys/limits.h> as a decimal constant (4294967295) + which is too large to fit in a signed int when it is parsed by the + compiler, so it issues a diagnostic. Just undef it here so that we + use gdb's version in defs.h */ +#undef UINT_MAX |