#ifdef AMIGA

#include "patchlevel.h"		/* yeah, I know it's not really a header...but why not? */

#define AMIPATCHLEVEL	0

/* Following is a really screwy way of incorporating compile-time info into *
 * the binary as an Amiga version string.  Unfortunately, it was the only   *
 * method I could find.  --dgc, 28 Jun 92                                   */

#define AmiVerChars1	{'$','V','E','R',':',' ','S','o','u','n','d',' ','E','x','c','h','a','n','g','e',' ',
#define AmiVerChars2	'w','i','t','h',' ','F','P','U',' ','s','u','p','p','o','r','t',' ',
#define AmiVerChars3	'P','a','t','c','h','l','e','v','e','l',' ','0'+PATCHLEVEL,',',' ',
#define AmiVerChars4	'A','m','i','g','a',' ','R','e','l','e','a','s','e',' ',PATCHLEVEL-5+'0','.','0'+AMIPATCHLEVEL,'\0'}
#ifdef AMIGA_MC68881
#	define AmiVerChars	AmiVerChars1 AmiVerChars2 AmiVerChars3 AmiVerChars4
#else
#	define AmiVerChars	AmiVerChars1 AmiVerChars3 AmiVerChars4
#endif AMIGA_MC68881
/* if you change these strings, be sure to change the size here! */
/* (and remember, sizeof() won't work) */
#define AmiVerSize	70

/* varargs adjustments */
#ifndef va_dcl
#	define va_dcl int va_alist;
#endif ~va_dcl

/* tmpfile() params */
#ifndef P_tmpdir
	/* path for tmpfiles */
#	define P_tmpdir	"t:"
	/* how many chars of commandname to include in tmpnam */
#	define B_tmpnam	5
	/* if no P_tmpdir, assume any existing L_tmpnam is invalid */
#	undef L_tmpnam
	/* size of name string.  don't mess with this unless you know what	*
	 * both of us are up to.						*
	 * sizeof(P_tmpdir) includes terminating null; B_tmpnam is how much	*
	 * of myname to include; 8x2 for hex longs + 3 dots + 2 sequence nums	*/
#	define L_tmpnam	sizeof(P_tmpdir)+B_tmpnam+21
#endif ~P_tmpdir

#endif AMIGA
