diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:46:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:46:41 +0000 |
commit | 92625c1624b9d2788787af1ceebab5d4bfcc01d6 (patch) | |
tree | 6a9efd276706092723010b868cbdeeeb71794f59 /gas/dwarf2dbg.c | |
parent | 42dbf88c398e280c252cb18db6faaeb2f776c913 (diff) | |
download | gdb-92625c1624b9d2788787af1ceebab5d4bfcc01d6.zip gdb-92625c1624b9d2788787af1ceebab5d4bfcc01d6.tar.gz gdb-92625c1624b9d2788787af1ceebab5d4bfcc01d6.tar.bz2 |
Adde dfinition if INT_MAX if limits.h is not included
Diffstat (limited to 'gas/dwarf2dbg.c')
-rw-r--r-- | gas/dwarf2dbg.c | 2 |
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 |