projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92625c1
)
aadd conditionals around definition of INT_MAX
author
Nick Clifton
<nickc@redhat.com>
Wed, 13 Dec 2000 18:48:04 +0000
(18:48 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Wed, 13 Dec 2000 18:48:04 +0000
(18:48 +0000)
gas/dwarf2dbg.c
patch
|
blob
|
history
diff --git
a/gas/dwarf2dbg.c
b/gas/dwarf2dbg.c
index 2d733d4b65887e049e8c8ec094e65580d405ca4c..d8611104402da7ba6e7256bfa97506478b6101d7 100644
(file)
--- 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