# endif
#endif
+#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"
/* From xstrndup.c. */
char *strchr(const char *s, int c);
#endif
-#if !HAVE_DECL_STRNDUP
-char *strndup PARAMS ((const char *s, size_t size));
-#endif
-
#if !HAVE_DECL_STRSPN
size_t strspn(const char *s, const char *accept);
#endif
# define setlocale(Category, Locale)
#endif
-#include "libgettext.h"
+#include "gettext.h"
#define _(Msgid) gettext (Msgid)
#define N_(Msgid) (Msgid)
} while (0)
-/*---------------------------------.
-| Machine-dependencies for Bison. |
-`---------------------------------*/
-
-#ifdef eta10
-# define MAXSHORT 2147483647
-# define MINSHORT -2147483648
-#else
-# define MAXSHORT 32767
-# define MINSHORT -32768
-#endif
-
-#if defined (MSDOS) && !defined (__GO32__)
-# define MAXTABLE 16383
-#else
-# define MAXTABLE 32767
-#endif
/*-----------------------------------------.
| Extensions to use for the output files. |
-/*----------------------------.
-| As memcpy, but for shorts. |
-`----------------------------*/
-
-#define shortcpy(Dest, Src, Num) \
- memcpy (Dest, Src, Num * sizeof (short))
-
/*---------------------.
| Free a linked list. |
`---------------------*/