Annotation of OpenXM_contrib2/windows/pari2/win32/paricfg.h, Revision 1.3
1.3 ! noro 1: /* This file extracted by Configure. */
1.1 noro 2: #ifndef __CONFIG_H__
3: #define __CONFIG_H__
4:
1.3 ! noro 5: #ifdef _MSC_VER /* Bill Daly: avoid spurious Warnings from MSVC */
! 6: # pragma warning(disable: 4013 4018 4146 4244 4761)
! 7: #endif
! 8:
1.1 noro 9: #define GPDATADIR "/pari/data"
1.3 ! noro 10: #define GPMISCDIR "/pari/"
! 11: #define SHELL_Q '"'
! 12: #define DL_DFLT_NAME "libpari.dll"
1.1 noro 13:
1.3 ! noro 14: #define PARIVERSION "GP/PARI CALCULATOR Version 2.2.4 (development CHANGES-1.2)"
1.1 noro 15: #ifdef __cplusplus
1.3 ! noro 16: # define PARIINFO_PRE "C++"
1.1 noro 17: #else
1.3 ! noro 18: # define PARIINFO_PRE ""
! 19: #endif
! 20: #if defined(__EMX__)
! 21: # define PARIINFO_POST "ix86 running EMX (ix86 kernel) 32-bit version"
! 22: #endif
! 23: #if defined(WINCE)
! 24: # define PARIINFO_POST "Windows CE 32-bit version"
! 25: #endif
! 26: #if !defined(PARIINFO_POST)
! 27: # define PARIINFO_POST "ix86 running Windows 3.2 (ix86 kernel) 32-bit version"
! 28: #endif
! 29: #define PARIINFO PARIINFO_PRE/**/PARIINFO_POST
! 30: #define PARI_VERSION_CODE 131588
! 31: #define PARI_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
! 32:
! 33: #define PARI_DOUBLE_FORMAT 1
! 34: #ifdef _MSC_VER /* MSVC inline directive */
! 35: # define INLINE __inline
1.1 noro 36: #endif
37:
1.3 ! noro 38: /* Location of GNU gzip program, enables reading of .Z and .gz files. */
! 39: #ifndef WINCE
! 40: # define GNUZCAT
! 41: # define ZCAT "gzip -d -c"
! 42: #endif
1.1 noro 43:
1.3 ! noro 44: #ifdef __EMX__
! 45: # define READLINE
! 46: # define READLINE_LIBRARY
! 47: # define HAS_RL_MESSAGE
! 48: # define CPPFunction_defined
! 49: /* in readline 1, no arguments for rl_refresh_line() */
! 50: # define RL_REFRESH_LINE_OLDPROTO
! 51: #endif
! 52: #ifdef __MINGW32__
! 53: # define READLINE "4.0"
! 54: # define HAS_COMPLETION_APPEND_CHAR
! 55: # define HAS_RL_SAVE_PROMPT
! 56: # define HAS_RL_MESSAGE
! 57: # define CPPFunction_defined
! 58: #endif
1.1 noro 59:
60: /* No exp2, log2 in libc */
61: #define NOEXP2
62:
63: /* Headers are clean - ulong not defined */
64: #define ULONG_NOT_DEFINED
65:
1.3 ! noro 66: #ifndef WINCE
1.1 noro 67: /* Timings: Don't use times because of the HZ / CLK_TCK confusion. */
1.3 ! noro 68: # define USE_FTIME 1
! 69: # define HAS_STRFTIME
! 70: /* This might work on NT ??? */
! 71: /* # define HAS_OPENDIR */
! 72: #endif
1.1 noro 73:
74: #if 1
75: #include "w_stdio.h"
76: #undef getc
77: #define getc w_fgetc
78: #undef putc
79: #define putc w_fputc
80: #define ungetc w_ungetc
81: #define fgets w_fgets
82: #define fputs w_fputs
83: #define printf w_printf
84: #define fprintf w_fprintf
85: #define fflush w_fflush
86: #endif
87: #endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>