home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
bbs
/
may94
/
util
/
edit
/
jade.lha
/
Jade
/
src
/
amiga_defs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-16
|
1KB
|
43 lines
/* amiga_defs.h -- declarations for AmigaDOS
Copyright (C) 1993, 1994 John Harper <jsh@ukc.ac.uk>
This file is part of Jade.
Jade is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
Jade is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Jade; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifndef _AMIGA_DEFS_H
#define _AMIGA_DEFS_H
#include <exec/lists.h>
#include <clib/exec_protos.h>
#include "amiga_windowsys.h"
/*
* since the Amiga has static stacks and my Lisp goes deep into
* the stack, some checking is order...
*/
#define MINSTACK 2048
#define GC_MINSTACK 256 /* give gc more chance of succeeding */
#define STK_SIZE stksize()
#define STK_WARN(s) ezreq("%s: Almost out of stack!", "Stop", (long)s)
#if AMIGA_INCLUDE_VER >= 39
# define SET_WRITE_MASK(rp,m) SafeSetWriteMask(rp,m)
#else
# define SET_WRITE_MASK(rp,m) SetWrMsk(rp,m)
#endif
#endif /* _AMIGA_DEFS_H */