#define PTR void *
#else
#define PTR char *
-#define const
#endif
/* Since major is a function on SVR4, we can't just use `ifndef major'. */
#if !defined(__MSDOS__) && !defined(STDC_HEADERS)
#include <memory.h>
#endif
+#ifdef index
+#undef index
+#endif
+#ifdef rindex
+#undef rindex
+#endif
#define index strchr
#define rindex strrchr
#define bcopy(s, d, n) memcpy(d, s, n)