mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-30 07:20:41 +00:00
If we don't have <limits.h>, try including <sys/param.h> if we have it.
This commit is contained in:
parent
6477a14af7
commit
6717891cd0
@ -1,3 +1,8 @@
|
||||
2000-12-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
|
||||
|
||||
* dwarf2dbg.c: If we don't have <limits.h>, try including <sys/param.h>
|
||||
if we have it.
|
||||
|
||||
2000-12-13 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* as.h: Fix formatting.
|
||||
|
@ -33,10 +33,12 @@
|
||||
#ifdef HAVE_LIMITS_H
|
||||
#include <limits.h>
|
||||
#else
|
||||
#ifdef HAVE_SYS_PARAM_H
|
||||
#include <sys/param.h>
|
||||
#endif
|
||||
#ifndef INT_MAX
|
||||
#define INT_MAX (int) (((unsigned) (-1)) >> 1)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef BFD_ASSEMBLER
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user