/*
    portab.h  for  RUBY
    (C) 1991 by Markus M. Nick

	---------------------------------------------------------------

	This program 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 
	documentation `docs\ruby.tex' for more details.

	---------------------------------------------------------------
*/


#ifndef __RUBY_PORTAB_H__
#define __RUBY_PORTAB_H__


#ifdef __GNUC__
typedef          void    VOID;
typedef	         int     BOOLEAN;
typedef          char    BYTE;
typedef          int     WORD;
typedef          long    LONG;
typedef unsigned char    UBYTE;
typedef unsigned int     UWORD;
typedef unsigned long    ULONG;
typedef          short   BBWORD;        /* bit block word */
#define	REG	register
#define	_(x)	x
#define	TRUE 1
#define FALSE 0
#define	cdecl /**/
#endif /* __GNUC__ */

#ifdef __TURBOC__
typedef          void    VOID;
typedef	         int     BOOLEAN;
typedef          char    BYTE;
typedef          int     WORD;
typedef          long    LONG;
typedef unsigned char    UBYTE;
typedef unsigned int     UWORD;
typedef unsigned long    ULONG;
typedef          int     BBWORD;        /* bit block word */
#define	REG	register
#define	_(x)	x
#define	TRUE 1
#define FALSE 0
#endif /* __TURBOC__ */

#ifdef MEGAMAX
typedef          void    VOID;
typedef	         int     BOOLEAN;
typedef          char    BYTE;
typedef          int     WORD;
typedef          long    LONG;
typedef unsigned char    UBYTE;
typedef unsigned int     UWORD;
typedef unsigned long    ULONG;
typedef          int     BBWORD;        /* bit block word */
#define	REG	register
#define	_(x)	()
#define	TRUE 1
#define FALSE 0
#define	cdecl /**/
#define	const /**/
#define	volatile /**/

#define	memmove(d,s,l)	bcopy(s,d,(int)(l))
#define	memcpy(d,s,l)	bcopy(s,d,(int)(l))
#endif /* MEGAMAX */


#endif /* __RUBY_PORTAB_H__ */

/***********************************************************************/
