aboutsummaryrefslogtreecommitdiff
path: root/gas/dwarf2dbg.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-13 18:48:04 +0000
committerNick Clifton <nickc@redhat.com>2000-12-13 18:48:04 +0000
commit6256f9dd96a733524643216f228a739f4f46b3b4 (patch)
treecfff836a4bfdb70a50408e26b70b7c92b768849b /gas/dwarf2dbg.c
parent92625c1624b9d2788787af1ceebab5d4bfcc01d6 (diff)
downloadgdb-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.c2
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