/* config.h.amiga -- User-configuration for Amiga version of Jade */

#ifndef _CONFIG_H
#define _CONFIG_H


#define HAVE_AMIGA


/*
 * Configuration options for the Makefile go in here,
 */
#ifdef MAKEFILE_CONFIG
#endif /* MAKEFILE_CONFIG */


/*
 * And stuff for the C files live in here,
 */
#ifdef C_CONFIG

# include "amiga_defs.h"

  /* Version number of includes used to compile with, works with V37, better
     with at least V39.	 */
# define AMIGA_INCLUDE_VER 39

  /* If you have a stpcpy() define this symbol, */
# define HAVE_STPCPY

  /* Define this is you have memchr()  */
/* # define HAVE_MEMCHR */

  /* When defined, functions are defined which provide varargs entry-points to
     some taglist based functions. I expect this is only needed with DICE
     and -mRR.	*/
# define AMIGA_NEED_VARARGS_STUBS

  /* If a (working) alloca() is around define this, */
/* # define HAVE_ALLOCA */

  /* If memcpy() and friends are in <memory.h> define this. */
/* # define NEED_MEMORY_H */

  /* onbreak() is used to make the stdio ^C handling call my interrupt
     handler. I'm not sure how standard this is. If your compiler doesn't
     have it add some suitably #ifdef'd code to this file and amiga_display.c
     and mail it to me for inclusion.  */
#define HAVE_ONBREAK

  /* The stack-swapping code needs a compiler which can do inline libcalls;
     stub functions won't work. So define this symbol if your compiler can't
     hack it. (Also note that stack swapping only works with V39+ includes.) */
/* #define NO_STACK_SWAP */

#endif /* C_CONFIG */

#endif /* _CONFIG_H */
