mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-03 09:41:26 +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
|
||||
#include <limits.h>
|
||||
#else
|
||||
#define INT_MAX (int) (((unsigned)(-1)) >> 1)
|
||||
#endif
|
||||
|
||||
#ifdef BFD_ASSEMBLER
|
||||
|
Loading…
Reference in New Issue
Block a user