/* Written by Stone Horse. Public domain */
#ifndef LIMITS_H
#define LIMITS_H 1

#include <ansi.h>

#define SCHAR_MIN (-128)
#define SCHAR_MAX 127
#define CHAR_MAX 255
#define SSHRT_MIN (-1 - 32767)
#define SSHRT_MAX 32767
#define SHRT_MAX 65535
#define SINT_MIN (-1 - 2147483647)
#define SINT_MAX 2147483647
#define INT_MAX 4294967295U

#ifdef _MINIX
#define MAX_STRLEN SHRT_MAX
#else
#define MAX_STRLEN INT_MAX
#endif
#define PAGE_SIZE 4096

#endif
