
/*
 * Define the preprocessor symbols that best match your environment.
 *
 * BSD
 *	use <strings.h> instead of <string.h>, index() instead of
 *	strchr(), bcopy() instead of memmove(), etc.
 *
 */

#ifdef __hpux
#undef BSD
#undef NO_VFORK
#endif

#ifndef DEBUG
#define NDEBUG
#endif

/*
 * Some include files that are nearly all used by nearly all modules.
 */

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#ifndef BSD
# include <string.h>
#else
# include <strings.h>
#endif
#include <stdarg.h>
#include <assert.h>
#include <ctype.h>
#include <time.h>
#include <sys/types.h>

#define GARBAGE_COLLECTOR 0

#if GARBAGE_COLLECTOR
# ifdef DEBUG
#  define GC_DEBUG
# endif
# include <gc.h>
# define malloc(n) GC_MALLOC(n)
# define calloc(m, n) GC_MALLOC((m)*(n))
# define realloc(p, s) ((p) ? GC_REALLOC(p, s) : GC_MALLOC(s))
# define free(p) GC_FREE(p)
#endif /* GARBAGE_COLLECTOR */

#include "export.h"

/*
 * Default .newsrc file for (un)subscribed newsgroups
 * (Will be looked for in user's home directory)
 */
#define NEWSRC ".newsrc"

/*
 * SHELL_PATH must be the path of a shell that accepts METAMAIL_CMD
 * as a command. SHELL_NAME is the name that will become argv[0] of
 * the shell process.
 */
#define SHELL_PATH "/bin/posix/sh"
#define SHELL_NAME "sh"

/*
 * Booleans
 */
#ifndef Bool
#define Bool int
#endif

#ifndef TRUE
#define TRUE (1)
#endif

#ifndef FALSE
#define FALSE (0)
#endif
