Debian Codegraph @

vms/config.h

raw
1 /* config.h. Generated by hand for IBM PC Turbo C 2.0. */
2
3 #define OS_VAXVMS 1
4
5 #define STDC_HEADERS 1
6
7 /* #undef _POSIX_SOURCE */
8
9 #define HAVE_STDC 1
10
11 /* Define if you want old pattern-less string matching in .ini files */
12 /* #undef HAVE_OLDCODE */
13
14 /* Define if you want standard bibclean-specific pattern in .ini files */
15 #define HAVE_PATTERNS 1
16
17 /* Define if you want regular-expression patterns in .ini files using re_comp() */
18
19 /* #undef HAVE_RECOMP */
20 /* #undef HAVE_REGEXP */
21
22 /* Define to empty if the keyword does not work. */
23 /* #undef const */
24
25 /* Define if your free() requires (char*) cast instead of (void*) */
26 /* #undef FREE_CAST_IS_CHAR_STAR */
27
28 /* Define if your compiler recognizes \a as an alert (ASCII BEL) character */
29 #define HAVE_ALERT_CHAR 1
30
31 /* Library functions that we need */
32
33 #define HAVE_GETCWD 1
34 /* #undef HAVE_GETWD */
35 #define HAVE_STRCSPN 1
36 #define HAVE_STRDUP 1
37 #define HAVE_STRSPN 1
38 #define HAVE_STRSTR 1
39 #define HAVE_STRTOD 1
40 #define HAVE_STRTOL 1
41
42 /* Header files that we might need */
43
44 #define HAVE_CONIO_H 1
45 #define HAVE_CTYPE_H 1
46 #define HAVE_DESCRIP_H 1
47 #define HAVE_ERRNO_H 1
48 #define HAVE_FCNTL_H 1
49 #define HAVE_IODEF_H 1
50 #define HAVE_IO_H 1
51 #define HAVE_JPIDEF_H 1
52 /* #undef HAVE_LIMITS_H */
53 /* #undef HAVE_OSFCN_H */
54 /* #undef HAVE_PWD_H */
55 /* #undef HAVE_REGEXP_H */
56 /* #undef HAVE_REGEX_H */
57 /* #undef HAVE_RMS_H */
58 /* #undef HAVE_SGTTY_H */
59 #define HAVE_SSDEF_H 1
60 /* #undef HAVE_STAT_H */
61 #define HAVE_STDIO_H 1
62 #define HAVE_STDLIB_H 1
63 #define HAVE_STRING_H 1
64 /* #undef HAVE_SYS_IOCTL_H */
65 /* #undef HAVE_SYS_PARAM_H */
66 #define HAVE_SYS_STAT_H 1
67 #define HAVE_SYS_TYPES_H 1
68 /* #undef HAVE_TERMIOS_H */
69 /* #undef HAVE_TERMIO_H */
70 #define HAVE_TIME_H 1
71 #define HAVE_TT2DEF_H 1
72 #define HAVE_TTDEF_H 1
73 #define HAVE_TYPES_H 1
74 /* #undef HAVE_UNISTD_H */
75 /* #undef HAVE_UNIXIO_H */
76 /* #undef HAVE_UNIXLIB_H */
77
78 #define RCSID(s) static char rcsid[] = s;
79
80 /* #undef OS_UNIX */
81
82 /* NB: some systems have Standard C header files, but compilers that
83 do not accept function prototypes (e.g. HP HP-UX 9.0.3 /bin/cc) */
84 #if defined(STDC_HEADERS) && (defined(__STDC__) || defined(__cplusplus) || defined(c_plusplus))
85 #define ARGS(plist) plist
86 #define VOID void
87 #else
88 #define ARGS(plist) ()
89 #define VOID
90 #endif
91
92 #define SCREEN_LINES 24
93
94 /***********************************************************************
95 The limit on file name lengths is non-standard:
96
97 -------- ------------- ------------------------------------------
98 Name Definition System
99 -------- ------------- ------------------------------------------
100 FNMAX <stdio.h> PCC-20
101 MAXPATH <dir.h> Turbo C 2.0, C and C++ 3.0, and TopSpeed C
102 _MAX_PATH <stdlib.h> Microsoft C 5.0, 6.0, 7.0 and TopSpeed C
103 MAXPATHLEN <sys/param.h> Sun OS (4.2BSD), 4.3BSD, Gould UTX/32,
104 HPUX, KCC-20, AIX (RT, RS, PS/2, 370),
105 HP/Apollo DomainOS, DEC Alpha (OSF/1)
106 PATH_MAX <stdio.h> SYS V (Silicon Graphics)
107 PATH_MAX <limits.h> POSIX, DEC Alpha (OSF/1)
108 FILENAME_MAX <stdio.h> Intel RMX, NeXT Mach, Turbo C/C++ 3.0
109 -------- ------------- ------------------------------------------
110
111 ***********************************************************************/
112
113 #if defined(HAVE_SYS_PARAM_H)
114 #include <sys/param.h>
115 #endif
116
117 #if defined(HAVE_LIMITS_H)
118 #include <limits.h>
119 #endif
120
121 #if defined(HAVE_STDLIB_H)
122 #include <stdlib.h>
123 #endif
124
125 #if !defined(MAXPATHLEN) && defined(FNMAX)
126 #define MAXPATHLEN FNMAX
127 #endif
128
129 #if !defined(MAXPATHLEN) && defined(MAXPATH)
130 #define MAXPATHLEN MAXPATH
131 #endif
132
133 #if !defined(MAXPATHLEN) && defined(_MAX_PATH)
134 #define MAXPATHLEN _MAX_PATH
135 #endif
136
137 #if !defined(MAXPATHLEN) && defined(PATH_MAX)
138 #define MAXPATHLEN PATH_MAX
139 #endif
140
141 #if !defined(MAXPATHLEN) && defined(FILENAME_MAX)
142 #define MAXPATHLEN FILENAME_MAX
143 #endif
144
145 #if !defined(MAXPATHLEN) && defined(FNMAX)
146 #define MAXPATHLEN 1024
147 #endif
148
149 #if defined(OS_PCDOS)
150 #define SEP_COMP " ;,|" /* separators between filename components */
151 #define SEP_PATH "\\" /* separators between directory path and filename */
152 #endif
153
154 #if defined(OS_UNIX)
155 #define SEP_COMP " ;:,|" /* separators between filename components */
156 #define SEP_PATH "/" /* separators between directory path and filename */
157 #endif
158
159 #include <stdio.h>
160 #include <custom.h>
161
162 #if !defined(HAVE_IOCTL_PROTOTYPE)
163 #if defined(__cplusplus) || defined(c_plusplus)
164 /* system files should have: extern "C" {int ioctl ARGS((int, int, ...));} */
165 #else
166 int ioctl ARGS((int, int, ...));
167 #endif
168 #endif
169
170 #if defined(FREE_CAST_IS_CHAR_STAR)
171 #define FREE(p) free((char*)(p))
172 #else
173 #define FREE(p) free((void*)(p))
174 #endif