
#define macinclude


/*constants*/

#define idgestaltselector 'LAND'
#define idgestaltfunction 128


/*typedefs*/

typedef struct tymemoryconfig {
	
	long minstacksize; /*minimum stack space required*/
	
	long minheapsize; /*minimum heap space to run program*/
	
	long avghandlesize; /*to determine # of master blocks; use zero for none*/
	
	long reserveforcode; /*approx. size of not-yet-loaded CODE resources*/
	
	long reserved;
	} tymemoryconfig, **hdlmemoryconfig;


/*globals*/

extern long	gSystemVersion;
extern boolean	gHasColorQD;
extern boolean	gCanUseNavServ;

//extern SysEnvRec macworld; /*the machine environment*/

extern tymemoryconfig macmemoryconfig;


/*prototypes*/

extern boolean initmacintosh (void);

extern short countinitialfiles (void);

extern getinitialfile (short, bigstring, short *);

extern boolean installgestaltfunction (void);

#ifdef MACVERSION //JES 2004.03.29: MacOS Specific function declarations
	extern WriteToConsole (char *s);
	extern DoErrorAlert(OSStatus status, CFStringRef errorFormatString);
#endif

