summaryrefslogtreecommitdiff
path: root/dviware/dvitops/msdos.h
blob: 53f1fdfed2b8ef32415216ecc3cff31d7f5f7129 (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
44
45
46
47
48
49
50
/* $Header: /usr/jjc/dvitops/RCS/msdos.h,v 1.2 90/08/17 15:55:17 jjc Exp $ */
/* Support for MS-DOS */

#define PAPER "a4"

#define TEXFONTS ".;\\tex\\fonts"
#define TEXINPUTS ".;\\tex\\inputs" 
#define TEXPK "%f.%d;c:\\texpixel\\cmpixel\\canon300\\dpi%d\\%f.pk"
#define TEXMAGS 214,240,257,270,300,329,360,432,518,622,746,896,1075,1290
#define PSFONTS ".;C:\\psfonts"
#define HAVE_REDIRECTION 
#define HAVE_SETVBUF
#define FOPEN_RB(file) (fopen((file), "rb"))
#define DPI 300
#define FILENAME_MAX 80
#define AREA_LIST_SEP ';'
#define AREA_SEP '\\'
#define AREA_SEP2 ':'
#define FILENAME_HAS_AREA(f) ((f)[0] == '\\' \
			      || (isalpha((f)[0]) && (f)[1] == ':'))
#define CASE_INSENSITIVE_FILENAMES
#define REORDER_ARGS
#define CASE_INSENSITIVE_OPTIONS

#define MAXFONTS 256
#define HAVE_ISATTY

#ifdef __STDC__

#define PROTO
/* #define BROKEN_PROTO */
#define HAVE_SETVBUF
#define STDARG
#include <limits.h>
#include <stddef.h>
#else
#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 const
typedef unsigned long size_t;
typedef long time_t;

#endif /* __STDC__ */

#define SWITCHAR