From 92625c1624b9d2788787af1ceebab5d4bfcc01d6 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 13 Dec 2000 18:46:41 +0000 Subject: [PATCH] Adde dfinition if INT_MAX if limits.h is not included --- gas/dwarf2dbg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gas/dwarf2dbg.c b/gas/dwarf2dbg.c index a8d8d7e1cf..2d733d4b65 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