mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-11 14:14:23 +00:00
Adde dfinition if INT_MAX if limits.h is not included
This commit is contained in:
parent
42dbf88c39
commit
92625c1624
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user