mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
* src/system.h: Rely on HAVE_LIMITS_H.
Suggested by Paul Eggert.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2002-04-10 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
|
* src/system.h: Rely on HAVE_LIMITS_H.
|
||||||
|
Suggested by Paul Eggert.
|
||||||
|
|
||||||
2002-04-09 Akim Demaille <akim@epita.fr>
|
2002-04-09 Akim Demaille <akim@epita.fr>
|
||||||
|
|
||||||
* tests/calc.at (_AT_CHECK_CALC_ERROR): Receive as argument the
|
* tests/calc.at (_AT_CHECK_CALC_ERROR): Receive as argument the
|
||||||
|
|||||||
11
src/system.h
11
src/system.h
@@ -89,8 +89,15 @@ char *alloca ();
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FIXME: Autoconfiscate. */
|
#if HAVE_LIMITS_H
|
||||||
#include <limits.h>
|
# include <limits.h>
|
||||||
|
#endif
|
||||||
|
#ifndef SHRT_MIN
|
||||||
|
# define SHRT_MIN (-32768)
|
||||||
|
#endif
|
||||||
|
#ifndef SHRT_MAX
|
||||||
|
# define SHRT_MAX 32767
|
||||||
|
#endif
|
||||||
|
|
||||||
# include "xalloc.h"
|
# include "xalloc.h"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user