Adde dfinition if INT_MAX if limits.h is not included
This commit is contained in:
parent
42dbf88c39
commit
92625c1624
1 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,8 @@
|
|||
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#else
|
||||
#define INT_MAX (int) (((unsigned)(-1)) >> 1)
|
||||
#endif
|
||||
|
||||
#ifdef BFD_ASSEMBLER
|
||||
|
|
Loading…
Reference in a new issue