/* $Id: genpari.h,v 2.0.0.2 1997/12/14 20:11:49 karim Exp karim $ */

#ifndef __GENPARI__
#define __GENPARI__

#ifdef macintosh
#  include <Types.h>
#  include <StdLib.h>
#elif defined(__cplusplus) || !defined(__M68K__)
#  include <stdlib.h>   /* malloc, free, atoi */
#endif

#include <stdarg.h>
#include <setjmp.h>
#include <signal.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#ifdef alliant
/* string.h */
#  undef strcpy
#  undef strlen
#  undef strncpy
/* math.h */
#  undef atan
#  undef cos
#  undef exp
#  undef fabs
#  undef log
#  undef sin
#  undef sqrt
#else /* ! alliant */
#  include <memory.h>
#endif
#include <ctype.h>

#include "config.h"
#include "types.h"
#include "cast.h"
#include "gencom.h"
#include "gendecl.h"
#include "errmessages.h"

#if __MWERKS__
#  include <SIOUX.h>
#  include <Memory.h>
#  define malloc(x) NewPtr(x)
#  define free(x) DisposePtr((Ptr)(x))
#  define CodeWarrior_Bug
#  pragma pointers_in_D0
   void *macrealloc(void *p, size_t olds, size_t news);
#  pragma pointers_in_A0
#endif

#if defined(__M68K__) || ( defined(macintosh) && !defined(powerc) )
#  include "gen68k.h"
#else
#  include "genport.h"
#endif

#include "kernelinline.h"
#include "mpinline.h"
#endif
