From 6256f9dd96a733524643216f228a739f4f46b3b4 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 13 Dec 2000 18:48:04 +0000 Subject: [PATCH] aadd conditionals around definition of INT_MAX --- gas/dwarf2dbg.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.30.2