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://review.tizen.org/git/?a=commitdiff_plain;h=92625c1624b9d2788787af1ceebab5d4bfcc01d6;p=external%2Fbinutils.git Adde dfinition if INT_MAX if limits.h is not included --- diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index a8d8d7e..2d733d4 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