version 1.1, 2001/03/13 05:50:31 |
version 1.3, 2002/10/01 09:57:24 |
|
|
/* This file extracted by Configure */ |
/* This file extracted by Configure. */ |
#ifndef __CONFIG_H__ |
#ifndef __CONFIG_H__ |
#define __CONFIG_H__ |
#define __CONFIG_H__ |
|
|
|
#ifdef _MSC_VER /* Bill Daly: avoid spurious Warnings from MSVC */ |
|
# pragma warning(disable: 4013 4018 4146 4244 4761) |
|
#endif |
|
|
#define GPDATADIR "/pari/data" |
#define GPDATADIR "/pari/data" |
|
#define GPMISCDIR "/pari/" |
|
#define SHELL_Q '"' |
|
#define DL_DFLT_NAME "libpari.dll" |
|
|
#define PARIVERSION "GP/PARI CALCULATOR Version 2.0.13 (alpha)" |
#define PARIVERSION "GP/PARI CALCULATOR Version 2.2.4 (development CHANGES-1.2)" |
#ifdef __cplusplus |
#ifdef __cplusplus |
# define PARIINFO "C++ Windows NT ix86 (ix86 kernel) 32-bit version" |
# define PARIINFO_PRE "C++" |
#else |
#else |
# define PARIINFO "Windows NT ix86 (ix86 kernel) 32-bit version" |
# define PARIINFO_PRE "" |
#endif |
#endif |
|
#if defined(__EMX__) |
|
# define PARIINFO_POST "ix86 running EMX (ix86 kernel) 32-bit version" |
|
#endif |
|
#if defined(WINCE) |
|
# define PARIINFO_POST "Windows CE 32-bit version" |
|
#endif |
|
#if !defined(PARIINFO_POST) |
|
# define PARIINFO_POST "ix86 running Windows 3.2 (ix86 kernel) 32-bit version" |
|
#endif |
|
#define PARIINFO PARIINFO_PRE/**/PARIINFO_POST |
|
#define PARI_VERSION_CODE 131588 |
|
#define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) |
|
|
#define PARI_BYTE_ORDER 1234 |
#define PARI_DOUBLE_FORMAT 1 |
|
#ifdef _MSC_VER /* MSVC inline directive */ |
|
# define INLINE __inline |
|
#endif |
|
|
/* MSVC inline directive */ |
|
#define INLINE __inline |
|
|
|
/* Location of GNU gzip program, enables reading of .Z and .gz files. */ |
/* Location of GNU gzip program, enables reading of .Z and .gz files. */ |
#define GNUZCAT |
#ifndef WINCE |
#define ZCAT "gzip -d -c" |
# define GNUZCAT |
|
# define ZCAT "gzip -d -c" |
|
#endif |
|
|
|
#ifdef __EMX__ |
|
# define READLINE |
|
# define READLINE_LIBRARY |
|
# define HAS_RL_MESSAGE |
|
# define CPPFunction_defined |
|
/* in readline 1, no arguments for rl_refresh_line() */ |
|
# define RL_REFRESH_LINE_OLDPROTO |
|
#endif |
|
#ifdef __MINGW32__ |
|
# define READLINE "4.0" |
|
# define HAS_COMPLETION_APPEND_CHAR |
|
# define HAS_RL_SAVE_PROMPT |
|
# define HAS_RL_MESSAGE |
|
# define CPPFunction_defined |
|
#endif |
|
|
/* No exp2, log2 in libc */ |
/* No exp2, log2 in libc */ |
#define NOEXP2 |
#define NOEXP2 |
|
|
/* Headers are clean - ulong not defined */ |
/* Headers are clean - ulong not defined */ |
#define ULONG_NOT_DEFINED |
#define ULONG_NOT_DEFINED |
|
|
|
#ifndef WINCE |
/* Timings: Don't use times because of the HZ / CLK_TCK confusion. */ |
/* Timings: Don't use times because of the HZ / CLK_TCK confusion. */ |
#define USE_FTIME 1 |
# define USE_FTIME 1 |
|
# define HAS_STRFTIME |
|
/* This might work on NT ??? */ |
|
/* # define HAS_OPENDIR */ |
|
#endif |
|
|
#define HAS_STRFTIME |
|
|
|
#define DL_DFLT_NAME "libpari.dll" |
|
#define SHELL_Q '\'' |
|
#if 1 |
#if 1 |
#include "w_stdio.h" |
#include "w_stdio.h" |
#undef getc |
#undef getc |