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 a8d8d7e..2d733d4 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