/*
 * defs.h
 *
 * Some global definitions
 *
 * $Id :$
 * $Log:$
 *
 */

#ifndef  DEFS_H
#define  DEFS_H

#ifndef  EXEC_TYPES_H
#include <exec/types.h>
#endif


#ifdef __VBCC__
	#define SEGLISTPTR APTR
#else /* !VBCC */
	#include <dos/dos.h>
	#define SEGLISTPTR BPTR
#endif /* VBCC */


/* compiler specific stuff */
#ifdef __VBCC__

#define REG(x)  __reg(#x)
#define ASM
#define SAVEDS

#else
	#ifdef __STORM__

	#define REG(x)  register __##x
	#define ASM
	#define SAVEDS  __saveds

	#else

	/* other compilers would get stacked up in here */
	#error "You need VBCC or StormC to compile this"

	#endif /* __STORM__ */
#endif /* __VBCC__ */

/* Cut down on the load by not including old intuition defines */
#define INTUI_V36_NAMES_ONLY

#endif /* DEFS_H */

