Annotation of OpenXM_contrib/pari/src/headers/pari.h, Revision 1.1.1.1
1.1 maekawa 1: /* $Id: pari.h,v 1.1.1.1 1999/09/16 13:47:44 karim Exp $ */
2:
3: #ifndef __GENPARI__
4: #define __GENPARI__
5: #include "paricfg.h"
6:
7: #ifdef macintosh
8: # include <Types.h>
9: # include <StdLib.h>
10: #else
11: # if defined(__cplusplus) || !defined(__M68K__)
12: # include <stdlib.h> /* malloc, free, atoi */
13: # endif
14: # ifdef UNIX
15: # define _INCLUDE_POSIX_SOURCE /* for HPUX */
16: # include <sys/types.h> /* size_t */
17: # endif
18: #endif
19:
20: #ifdef WINCE
21: # include <windows.h>
22: #else
23: # include <signal.h>
24: # include <stdio.h>
25: #endif
26:
27: #include <stdarg.h>
28: #include <setjmp.h>
29: #include <string.h>
30: #if !defined(_WIN32) && !defined(WINCE)
31: # include <unistd.h>
32: #endif
33: #include <math.h>
34: #ifdef alliant
35: /* string.h */
36: # undef strcpy
37: # undef strlen
38: # undef strncpy
39: /* math.h */
40: # undef atan
41: # undef cos
42: # undef exp
43: # undef fabs
44: # undef log
45: # undef sin
46: # undef sqrt
47: #else /* ! alliant */
48: # include <memory.h>
49: #endif
50: #include <ctype.h>
51:
52: #ifdef WINCE
53: # include "parice.h"
54: #endif
55: #include "paritype.h"
56: #include "parisys.h"
57: #include "parigen.h"
58: #include "paricast.h"
59: #include "paristio.h"
60: #include "paricom.h"
61: #include "parierr.h"
62: #include "paridecl.h"
63:
64: #if defined(__MWERKS__)
65: # include <SIOUX.h>
66: # include <Memory.h>
67: # define malloc(x) NewPtr(x)
68: # define free(x) DisposePtr((Ptr)(x))
69: # define CodeWarrior_Bug
70: # pragma pointers_in_D0
71: void *macrealloc(void *p, size_t olds, size_t news);
72: # pragma pointers_in_A0
73: #endif
74:
75: #if defined(__M68K__) || ( defined(macintosh) && !defined(powerc) )
76: # include "pari68k.h"
77: #else
78: # include "pariport.h"
79: #endif
80:
81: #include "pariinl.h"
82: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>