summaryrefslogtreecommitdiff
path: root/dviware/dvitops/vms.h
blob: 235c1ee52c01a4b3df32e9f25015d2a97b27490a (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
/* $Header: /usr/jjc/dvitops/RCS/vms.h,v 1.1 90/08/14 12:57:32 jjc Rel $ */
/* Support for VMS. */

#define PAPER "a4"

/* These definitions are certainly not right */
#define TEXFONTS "[];SOME$DISK:[TEX.FONTS];TEX_FONTS"
#define TEXINPUTS "[];SOME$DISK:[TEX.INPUTS];TEX_INPUTS"
#define TEXPK "[]%f.%dPK;SOME$DISK:[TEX.PK]%f.%dPK;TEX_PK:%f.%dPK"
#define TEXMAGS 214,240,257,270,300,329,360,432,518,622,746,896,1075,1290
#define PSFONTS "[];SOME$DISK:[TEX.PSFONTS]"
/*#define HAVE_REDIRECTION */
/*#define HAVE_SETVBUF */
#define DPI 300
#define FILENAME_MAX 1024
#define AREA_LIST_SEP ';'
#define AREA_SEP ':'
#define AREA_SEP2 ']'
#define FILENAME_HAS_AREA(f) (strchr(f, ':') != NULL && strchr(f, ']') != NULL)
#define MAXFONTS 256
#define HAVE_ISATTY

#define FOPEN_RB(file) (fopen((file), "r", "ctx=stm"))

#ifdef __STDC__

#define PROTO
/* #define BROKEN_PROTO */
#define HAVE_SETVBUF
#define STDARG
#include <limits.h>
#include <stddef.h>

#else

#define const
#define UCHAR_MAX 255
#define USHRT_MAX 0xffff
#define SHRT_MAX 32767
#define UINT_MAX 0xffff
#define INT_MAX 32767
#define LONG_MAX 2147483647L
typedef int size_t;

#endif /* __STDC__ */

typedef long time_t;