summaryrefslogtreecommitdiffstats
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-13 18:46:41 +0000
committerNick Clifton <nickc@redhat.com>2000-12-13 18:46:41 +0000
commit92625c1624b9d2788787af1ceebab5d4bfcc01d6 (patch)
tree6a9efd276706092723010b868cbdeeeb71794f59 /gas
parent42dbf88c398e280c252cb18db6faaeb2f776c913 (diff)
downloadppe42-binutils-92625c1624b9d2788787af1ceebab5d4bfcc01d6.tar.gz
ppe42-binutils-92625c1624b9d2788787af1ceebab5d4bfcc01d6.zip
Adde dfinition if INT_MAX if limits.h is not included
Diffstat (limited to 'gas')
-rw-r--r--gas/dwarf2dbg.c2
1 files changed, 2 insertions, 0 deletions
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 <limits.h>
+#else
+#define INT_MAX (int) (((unsigned)(-1)) >> 1)
#endif
#ifdef BFD_ASSEMBLER
OpenPOWER on IntegriCloud