Adde dfinition if INT_MAX if limits.h is not included
authorNick Clifton <nickc@redhat.com>
Wed, 13 Dec 2000 18:46:41 +0000 (18:46 +0000)
committerNick Clifton <nickc@redhat.com>
Wed, 13 Dec 2000 18:46:41 +0000 (18:46 +0000)
gas/dwarf2dbg.c

index a8d8d7e1cfb17f2623ea123b2fbdcba46f3e7b57..2d733d4b65887e049e8c8ec094e65580d405ca4c 100644 (file)
@@ -32,6 +32,8 @@
 
 #ifdef HAVE_LIMITS_H
 #include <limits.h>
+#else
+#define INT_MAX (int) (((unsigned)(-1)) >> 1)
 #endif
 
 #ifdef BFD_ASSEMBLER