#ifndef GROPE_H
#define GROPE_H 1
/* This was once part of a package which worked out all sorts of
 this by testing the compiler's ifdefs. Unfortunately it broke,
 so you'll have to set these by hand. */

#define INLINE /* Set to 'inline' statement for suitable compilers */
#define STDLIBS 1 /* Has ANSI libs */
#define PROTOTYPES 1 /* Has ANSI-like prototypes */
#define SYS_ANY 1 /* Don't know which system you're using */
#define COMPILER_ANY 1 /* Don't know which compiler you're using */

typedef int boolean; /* These were defined in too many files */
typedef int BOOLEAN; /* which caused errors... */

#define TRUE 1
#define FALSE 0
#define YES TRUE
#define NO FALSE

#define PC_HUGE /* huge or far for DOS */
#define halloc(a,b) malloc(a * b)
#define hfree(a) free(a)

/* These aren't always present */
#define min(a,b) ((a) < (b) ? (a) : (b))
#define max(a,b) ((a) > (b) ? (a) : (b))

/* ANSI -> Unix */
#define unlink(s) remove(s)

#define MAX_LINE 1024 /* Arbitrary limit for some arbitrary progs. */

#endif /* GROPE_H */
