Annotation of OpenXM_contrib2/windows/pari2/win32com/genpari.h, Revision 1.1
1.1 ! noro 1: /* $Id: pari.h,v 1.2 2000/11/03 21:00:24 karim Exp $
! 2:
! 3: Copyright (C) 2000 The PARI group.
! 4:
! 5: This file is part of the PARI/GP package.
! 6:
! 7: PARI/GP is free software; you can redistribute it and/or modify it under the
! 8: terms of the GNU General Public License as published by the Free Software
! 9: Foundation. It is distributed in the hope that it will be useful, but WITHOUT
! 10: ANY WARRANTY WHATSOEVER.
! 11:
! 12: Check the License for details. You should have received a copy of it, along
! 13: with the package; see the file 'COPYING'. If not, write to the Free Software
! 14: Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
! 15:
! 16: #ifndef __GENPARI__
! 17: #define __GENPARI__
! 18: #include "paricfg.h"
! 19:
! 20: #ifdef macintosh
! 21: # include <Types.h>
! 22: # include <StdLib.h>
! 23: #else
! 24: # if defined(__cplusplus) || !defined(__M68K__)
! 25: # include <stdlib.h> /* malloc, free, atoi */
! 26: # endif
! 27: # ifdef UNIX
! 28: # define _INCLUDE_POSIX_SOURCE /* for HPUX */
! 29: # include <sys/types.h> /* size_t */
! 30: # endif
! 31: #endif
! 32:
! 33: #ifdef WINCE
! 34: # include <windows.h>
! 35: #else
! 36: # include <signal.h>
! 37: # include <stdio.h>
! 38: #endif
! 39:
! 40: #include <stdarg.h>
! 41: #include <setjmp.h>
! 42: #include <string.h>
! 43: #if !defined(_WIN32) && !defined(WINCE)
! 44: # include <unistd.h>
! 45: #endif
! 46: #include <math.h>
! 47: #ifdef alliant
! 48: /* string.h */
! 49: # undef strcpy
! 50: # undef strlen
! 51: # undef strncpy
! 52: /* math.h */
! 53: # undef atan
! 54: # undef cos
! 55: # undef exp
! 56: # undef fabs
! 57: # undef log
! 58: # undef sin
! 59: # undef sqrt
! 60: #else /* ! alliant */
! 61: # include <memory.h>
! 62: #endif
! 63: #include <ctype.h>
! 64:
! 65: #ifdef WINCE
! 66: # include "parice.h"
! 67: #endif
! 68: #include "paritype.h"
! 69: #include "parisys.h"
! 70: #include "parigen.h"
! 71: #include "paricast.h"
! 72: #include "paristio.h"
! 73: #include "paricom.h"
! 74: #include "parierr.h"
! 75: #include "paridecl.h"
! 76:
! 77: #if defined(__MWERKS__)
! 78: # include <SIOUX.h>
! 79: # include <Memory.h>
! 80: # define malloc(x) NewPtr(x)
! 81: # define free(x) DisposePtr((Ptr)(x))
! 82: # define CodeWarrior_Bug
! 83: # pragma pointers_in_D0
! 84: void *macrealloc(void *p, size_t olds, size_t news);
! 85: # pragma pointers_in_A0
! 86: #endif
! 87:
! 88: #if defined(__M68K__) || ( defined(macintosh) && !defined(powerc) )
! 89: # include "pari68k.h"
! 90: #else
! 91: # include "pariport.h"
! 92: #endif
! 93:
! 94: #include "pariinl.h"
! 95: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>