/*
 * @DEC_COPYRIGHT@
 */
/*
 * HISTORY
 * $Log:	mednat.h,v $
 * Revision 4.2.2.2  91/12/05  14:12:31  Jim_McHale
 * 	"Integrate with AG pool"
 * 
 * Revision 4.2.1.2  91/11/23  11:43:00  Jim_McHale
 * 	Merge with mips 3.0
 * 
 * Revision 4.2  91/09/20  05:12:51  devbld
 * 	Adding ODE Headers
 * 
 * $EndLog$
 */
/*
 *       @(#)$RCSfile: mednat.h,v $ $Revision: 4.2.2.2 $ (DEC) $Date: 91/12/05 14:12:31 $
 */
/*
 * |-----------------------------------------------------------|
 * | Copyright (c) 1991, 1990 MIPS Computer Systems, Inc.      |
 * | All Rights Reserved                                       |
 * |-----------------------------------------------------------|
 * |          Restricted Rights Legend                         |
 * | Use, duplication, or disclosure by the Government is      |
 * | subject to restrictions as set forth in                   |
 * | subparagraph (c)(1)(ii) of the Rights in Technical        |
 * | Data and Computer Software Clause of DFARS 252.227-7013.  |
 * |         MIPS Computer Systems, Inc.                       |
 * |         950 DeGuigne Avenue                               |
 * |         Sunnyvale, California 94088-3650, USA             |
 * |-----------------------------------------------------------|
 */
/* $Header: /usr/sde/osf1/rcs/src/./usr/include/cmplrs/mednat.h,v 4.2.2.2 91/12/05 14:12:31 Jim_McHale Exp $ */
#ifndef _CMPLRS_MEDNAT_H
#define _CMPLRS_MEDNAT_H

/*#define MEDNAT	1	/* define MEDNAT flag		*/

#ifdef _MEDNAT

#define		flush(err);		;
#define		flush(stderr);		;
#define		flush(output);		;
#define		flush(dumpfile);	;

#define		maxint		maxlong

#define		lshift(_a,_b)	((_a) << (_b))
#define		rshift(_a,_b)	((_a) >> (_b))

type
    integer = int32;
    double = longreal;
    pointer = extaddr;
    cardinal = card32;

function  max(a,b : integer) : integer; external;
function  min(a,b : integer) : integer; external;
function  argc : integer; external;
procedure argv( i : integer; s : fstring); external;

#define bitand(_a,_b) ((_a) And (_b))
#define bitxor(_a,_b) ((_a) Xor (_b))
#define bitor(_a,_b) ((_a) Or (_b))
#define bitnot(_a) (Not (_a))

#else

#define		stderr			err

#endif

#endif
