mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +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>
|
||||
|
||||
* 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
|
||||
|
||||
/* FIXME: Autoconfiscate. */
|
||||
#include <limits.h>
|
||||
#if HAVE_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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user