File: config.h

package info (click to toggle)
aish 1.13-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 304 kB
  • ctags: 449
  • sloc: ansic: 4,046; makefile: 129; sh: 21
file content (98 lines) | stat: -rw-r--r-- 1,892 bytes parent folder | download | duplicates (3)
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
/*	Copyright 1993,94,95 H.Ogasawara (COR.)	*/

#define			CRC32		0
#define			DELCTRL		1
#define			ERRCONT		0
#define			PREREAD		1

/* - - - - - - - - - - - - - - - - - - - - - - - - */

#if UNIX
#  define		SYSDOSLIB	0
#  define		HUMANFIO	0
#  define		SUPASM		0
#  define		CSUMASM		0
#  define		CRCASM		0
#  define		SJENCASM	0
#  define		SJDECASM	0
#  define		ERRCASM		0
#  define		ANSIC		0
#  define		CKNAME		1
#  define		PATHLEN		256
#  define		NAMELEN		256
#  define		INLINE
#  define		BROPEN		"r"
#  define		BWOPEN		"w"
#  define		BAOPEN		"a"
#  define		BRWOPEN		"r+"
#endif

#if HUMAN68K | HUMAN68K2
# if !HUMAN68K2
#   define		SYSDOSLIB	1
#   define		HUMANFIO	1
#   define		SUPASM		1
#   define		CSUMASM		1
#   define		CRCASM		1
#   define		SJENCASM	1
#   define		SJDECASM	1
#   define		ERRCASM		1
# else
#   define		SYSDOSLIB	0
#   define		HUMANFIO	0
#   define		SUPASM		0
#   define		CSUMASM		0
#   define		CRCASM		0
#   define		SJENCASM	0
#   define		SJDECASM	0
#   define		ERRCASM		0
# endif
# define		ANSIC		1
# define		CKNAME		0
# define		PATHLEN		80
# define		NAMELEN		24
# define		INLINE		inline
# define		BROPEN		"rb"
# define		BWOPEN		"wb"
# define		BAOPEN		"ab"
# define		BRWOPEN		"r+b"
# ifndef HUMAN68K
#  define		HUMAN68K	1
# endif
#endif

#if WIN32
# define		SYSDOSLIB	0
# define		HUMANFIO	0
# define		SUPASM		0
# define		CSUMASM		0
# define		CRCASM		0
# define		SJENCASM	0
# define		SJDECASM	0
# define		ERRCASM		0
# define		ANSIC		1
# define		CKNAME		0
# define		PATHLEN		256
# define		NAMELEN		256
# define		INLINE		__inline
# define		BROPEN		"rb"
# define		BWOPEN		"wb"
# define		BAOPEN		"ab"
# define		BRWOPEN		"r+b"
#endif

/* - - - - - - - - - - - - - - - - - - - - - - - - */

#if MVOLENC
# undef	CRC32
# undef	CRCASM
# define	CRC32	1
# define	CRCASM	0
#endif
#if MIMEDEC
# undef	PREREAD
# define	PREREAD	1
#endif

/* in ai_ish.c */
char * getfname( char * name );