diff options
author | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:48:04 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-12-13 18:48:04 +0000 |
commit | 6256f9dd96a733524643216f228a739f4f46b3b4 (patch) | |
tree | cfff836a4bfdb70a50408e26b70b7c92b768849b /gas/dwarf2dbg.c | |
parent | 92625c1624b9d2788787af1ceebab5d4bfcc01d6 (diff) | |
download | gdb-6256f9dd96a733524643216f228a739f4f46b3b4.zip gdb-6256f9dd96a733524643216f228a739f4f46b3b4.tar.gz gdb-6256f9dd96a733524643216f228a739f4f46b3b4.tar.bz2 |
aadd conditionals around definition of INT_MAX
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 2d733d4..d861110 100644 --- a/gas/dwarf2dbg.c +++ b/gas/dwarf2dbg.c @@ -33,8 +33,10 @@ #ifdef HAVE_LIMITS_H #include <limits.h> #else +#ifndef INT_MAX #define INT_MAX (int) (((unsigned)(-1)) >> 1) #endif +#endif #ifdef BFD_ASSEMBLER |