mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-17 18:43:25 +08:00
Adde dfinition if INT_MAX if limits.h is not included
This commit is contained in:
@ -32,6 +32,8 @@
|
|||||||
|
|
||||||
#ifdef HAVE_LIMITS_H
|
#ifdef HAVE_LIMITS_H
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
#else
|
||||||
|
#define INT_MAX (int) (((unsigned)(-1)) >> 1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef BFD_ASSEMBLER
|
#ifdef BFD_ASSEMBLER
|
||||||
|
Reference in New Issue
Block a user