diff options
Diffstat (limited to 'dviware/dvitops/primos.h')
-rw-r--r-- | dviware/dvitops/primos.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dviware/dvitops/primos.h b/dviware/dvitops/primos.h new file mode 100644 index 0000000000..1300dec6b0 --- /dev/null +++ b/dviware/dvitops/primos.h @@ -0,0 +1,43 @@ +/* Primos support */ + +#define PAPER "a4" + +#define TEXFONTS "*;TeX>fonts" +#define TEXINPUTS "*;TeX>inputs" +#define TEXPK "%f.%dpk;TeX>pxl12>%f.%dpk" +#define TEXMAGS 214,240,257,270,300,329,360,432,518,622,746,896,1075,1290 +#define PSFONTS "*;TeX>psfonts" +/*#define HAVE_REDIRECTION*/ +/*#define HAVE_SETVBUF*/ +#define NEED_MEM_FUNCTIONS +#define NEED_QSORT +#define NEED_STRTOK +#define FOPEN_RB(file) (fopen((file), "i") +#define DPI 300 +#define FILENAME_MAX 128 +#define AREA_LIST_SEP ';' +#define AREA_SEP '>' +#define FILENAME_HAS_AREA(f) (strchr(f,'>') != NULL) +#define CASE_INSENSITIVE_FILENAMES +#define CASE_INSENSITIVE_OPTIONS +#define REORDER_ARGS +#define MAXFONTS 256 + +#define UCHAR_MAX 255 +#define USHRT_MAX 0xffff +#define SHRT_MAX 32767 +#define UINT_MAX 0xffff +#define INT_MAX 32767 +#define LONG_MAX 2147483647L +#define size_t unsigned long + +#define XCHAR(ch) (((ch) & 0377) | 0200) + +#define WARNING_EXIT_CODE -1 +#define ERROR_EXIT_CODE 1 +#define FATAL_ERROR_EXIT_CODE 1 + +#define PRIMOS_GETENV + +char *ctime(); /* not declared anywhere else */ +typedef long time_t; |