If we don't have <limits.h>, try including <sys/param.h> if we have it.

This commit is contained in:
Nick Clifton 2000-12-14 20:16:20 +00:00
parent 6477a14af7
commit 6717891cd0
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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