summaryrefslogtreecommitdiff
path: root/dviware/dvitops/primos.h
blob: 1300dec6b003de794aaf7924276a1cc9c61a3554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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;