aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/dwarf2dbg.c2
1 files changed, 2 insertions, 0 deletions
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 <limits.h>
+#else
+#define INT_MAX (int) (((unsigned)(-1)) >> 1)
#endif
#ifdef BFD_ASSEMBLER