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>
|
2000-12-13 Kazu Hirata <kazu@hxi.com>
|
||||||
|
|
||||||
* as.h: Fix formatting.
|
* as.h: Fix formatting.
|
||||||
|
|
|
@ -33,10 +33,12 @@
|
||||||
#ifdef HAVE_LIMITS_H
|
#ifdef HAVE_LIMITS_H
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#else
|
#else
|
||||||
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
|
#include <sys/param.h>
|
||||||
|
#endif
|
||||||
#ifndef INT_MAX
|
#ifndef INT_MAX
|
||||||
#define INT_MAX (int) (((unsigned) (-1)) >> 1)
|
#define INT_MAX (int) (((unsigned) (-1)) >> 1)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef BFD_ASSEMBLER
|
#ifdef BFD_ASSEMBLER
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue