mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
* src/system.h: Rely on HAVE_LIMITS_H.
Suggested by Paul Eggert.
This commit is contained in:
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