Fix PR ada/97805
We need to include limits.h (or <climits>) in adaint.c because of LLONG_MIN. gcc/ada/ChangeLog: PR ada/97805 * adaint.c: Include climits in C++ and limits.h otherwise.
This commit is contained in:
parent
9844497a93
commit
2729378d09
@ -145,6 +145,13 @@
|
||||
#include "version.h"
|
||||
#endif
|
||||
|
||||
/* limits.h is needed for LLONG_MIN. */
|
||||
#ifdef __cplusplus
|
||||
#include <climits>
|
||||
#else
|
||||
#include <limits.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user