]> git.saurik.com Git - bison.git/blobdiff - src/system.h
More.
[bison.git] / src / system.h
index 45427449e4f34f96c7f7644d19e0cfba9692d85a..8cd8bba1913a9447fdd8c9336621e2d4d8a3c994 100644 (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"
 
@@ -231,21 +238,15 @@ do {                                                              \
   /* VMS. */
 # define EXT_TAB       "_tab"
 # define EXT_OUTPUT    ".output"
-# define EXT_STYPE_H   "_stype"
-# define EXT_GUARD_C   "_guard"
 #else /* ! VMS */
 # ifdef MSDOS
    /* MS DOS. */
 #  define EXT_TAB      "_tab"
 #  define EXT_OUTPUT   ".out"
-#  define EXT_STYPE_H  ".sth"
-#  define EXT_GUARD_C  ".guc"
 # else /* ! MSDOS */
   /* Standard. */
 #  define EXT_TAB      ".tab"
 #  define EXT_OUTPUT   ".output"
-#  define EXT_STYPE_H  ".stype"
-#  define EXT_GUARD_C  ".guard"
 # endif /* ! MSDOS */
 #endif /* ! VMS */