/* This file extracted by Configure. */ #ifndef __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 SHELL_Q '"' #define DL_DFLT_NAME "libpari.dll" #define PARIVERSION "GP/PARI CALCULATOR Version 2.0.17 (beta)" #ifdef __cplusplus # if defined(__EMX__) # define PARIINFO "C++ ix86 running EMX (ix86 kernel) 32-bit version" # elsif defined(WINCE) # define PARIINFO "C++ Windows CE 32-bit version" # else # define PARIINFO "C++ ix86 running Windows 3.2 (ix86 kernel) 32-bit version" # endif #else # if defined(__EMX__) # define PARIINFO "ix86 running EMX (ix86 kernel) 32-bit version" # elsif defined(WINCE) # define PARIINFO "Windows CE 32-bit version" # else # define PARIINFO "ix86 running Windows 3.2 (ix86 kernel) 32-bit version" # endif #endif #define PARI_BYTE_ORDER 1234 #ifdef _MSC_VER /* MSVC inline directive */ # define INLINE __inline #endif /* Location of GNU gzip program, enables reading of .Z and .gz files. */ #ifndef WINCE # 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 /* No exp2, log2 in libc */ #define NOEXP2 /* Headers are clean - ulong not defined */ #define ULONG_NOT_DEFINED #ifndef WINCE /* Timings: Don't use times because of the HZ / CLK_TCK confusion. */ # define USE_FTIME 1 # define HAS_STRFTIME /* comment this one if not on NT ??? */ #endif #if 1 #include "w_stdio.h" #undef getc #define getc w_fgetc #undef putc #define putc w_fputc #define ungetc w_ungetc #define fgets w_fgets #define fputs w_fputs #define printf w_printf #define fprintf w_fprintf #define fflush w_fflush #endif #endif