* src/system.h: Rely on HAVE_LIMITS_H.

Suggested by Paul Eggert.
This commit is contained in:
Akim Demaille
2002-04-10 17:13:58 +00:00
parent 01e5c81773
commit fecc10cd95
2 changed files with 14 additions and 2 deletions

View File

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

View File

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