From: Nick Clifton Date: Wed, 13 Dec 2000 18:46:41 +0000 (+0000) Subject: Adde dfinition if INT_MAX if limits.h is not included X-Git-Tag: newlib-1_9_0~277 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=92625c1624b9d2788787af1ceebab5d4bfcc01d6;p=thirdparty%2Fbinutils-gdb.git Adde dfinition if INT_MAX if limits.h is not included --- diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index a8d8d7e1cfb..2d733d4b658 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -32,6 +32,8 @@ #ifdef HAVE_LIMITS_H #include +#else +#define INT_MAX (int) (((unsigned)(-1)) >> 1) #endif #ifdef BFD_ASSEMBLER