From: Nick Clifton Date: Wed, 13 Dec 2000 18:48:04 +0000 (+0000) Subject: aadd conditionals around definition of INT_MAX X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6256f9dd96a733524643216f228a739f4f46b3b4;p=binutils-gdb.git aadd conditionals around definition of INT_MAX --- diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index 2d733d4b658..d8611104402 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -33,8 +33,10 @@ #ifdef HAVE_LIMITS_H #include #else +#ifndef INT_MAX #define INT_MAX (int) (((unsigned)(-1)) >> 1) #endif +#endif #ifdef BFD_ASSEMBLER