|
1 | 1 | /* config.h for Macintosh THINK C 6.0, CodeWarrior 4 and MPW 3.2. */ |
2 | 2 |
|
3 | | -#ifdef MPW |
4 | | -/* This must be is MPW 3.x */ |
5 | | -#define MPW_3 1 |
| 3 | +#ifdef applec |
| 4 | +#define MPW |
6 | 5 | #endif |
7 | 6 |
|
8 | 7 | /* Define if on Macintosh (THINK_C, MPW or __MWERKS__ should also be defined) */ |
| 8 | +#ifndef macintosh |
9 | 9 | #define macintosh |
| 10 | +#endif |
10 | 11 |
|
11 | 12 | #ifdef THINK_C |
12 | 13 | #define HAVE_FOPENRF |
|
16 | 17 | System headers sometimes define this. |
17 | 18 | We just want to avoid a redefinition error message. */ |
18 | 19 | #ifndef _ALL_SOURCE |
19 | | -#undef _ALL_SOURCE |
| 20 | +/* #undef _ALL_SOURCE */ |
20 | 21 | #endif |
21 | 22 |
|
22 | 23 | /* Define if type char is unsigned and you are not using gcc. */ |
23 | | -#undef __CHAR_UNSIGNED__ |
| 24 | +/* #undef __CHAR_UNSIGNED__ */ |
24 | 25 |
|
25 | 26 | /* Define to empty if the keyword does not work. */ |
26 | | -#undef const |
| 27 | +/* #undef const */ |
27 | 28 |
|
28 | 29 | /* Define if you have dirent.h. */ |
29 | | -#undef DIRENT |
| 30 | +/* #undef DIRENT */ |
30 | 31 |
|
31 | 32 | /* Define to the type of elements in the array set by `getgroups'. |
32 | 33 | Usually this is either `int' or `gid_t'. */ |
33 | | -#undef GETGROUPS_T |
| 34 | +/* #undef GETGROUPS_T */ |
34 | 35 |
|
35 | 36 | /* Define to `int' if <sys/types.h> doesn't define. */ |
36 | | -#undef gid_t |
| 37 | +/* #undef gid_t */ |
37 | 38 |
|
38 | 39 | /* Define if your struct tm has tm_zone. */ |
39 | | -#undef HAVE_TM_ZONE |
| 40 | +/* #undef HAVE_TM_ZONE */ |
40 | 41 |
|
41 | 42 | /* Define if you don't have tm_zone but do have the external array |
42 | 43 | tzname. */ |
43 | | -#undef HAVE_TZNAME |
| 44 | +/* #undef HAVE_TZNAME */ |
44 | 45 |
|
45 | 46 | /* Define if on MINIX. */ |
46 | | -#undef _MINIX |
| 47 | +/* #undef _MINIX */ |
47 | 48 |
|
48 | 49 | /* Define to `int' if <sys/types.h> doesn't define. */ |
49 | | -#undef mode_t |
| 50 | +/* #undef mode_t */ |
50 | 51 |
|
51 | 52 | /* Define if you don't have dirent.h, but have ndir.h. */ |
52 | | -#undef NDIR |
| 53 | +/* #undef NDIR */ |
53 | 54 |
|
54 | 55 | /* Define to `long' if <sys/types.h> doesn't define. */ |
55 | | -#undef off_t |
| 56 | +/* #undef off_t */ |
56 | 57 |
|
57 | 58 | /* Define to `int' if <sys/types.h> doesn't define. */ |
58 | | -#undef pid_t |
| 59 | +/* #undef pid_t */ |
59 | 60 |
|
60 | 61 | /* Define if the system does not provide POSIX.1 features except |
61 | 62 | with this defined. */ |
62 | | -#undef _POSIX_1_SOURCE |
| 63 | +/* #undef _POSIX_1_SOURCE */ |
63 | 64 |
|
64 | 65 | /* Define if you need to in order for stat and other things to work. */ |
65 | | -#undef _POSIX_SOURCE |
| 66 | +/* #undef _POSIX_SOURCE */ |
66 | 67 |
|
67 | 68 | /* Define as the return type of signal handlers (int or void). */ |
68 | 69 | #define RETSIGTYPE void |
69 | 70 |
|
70 | 71 | /* Define to `unsigned' if <sys/types.h> doesn't define. */ |
71 | | -#undef size_t |
| 72 | +/* #undef size_t */ |
72 | 73 |
|
73 | 74 | /* Define if you have the ANSI C header files. */ |
74 | 75 | #define STDC_HEADERS |
75 | 76 |
|
76 | 77 | /* Define if you don't have dirent.h, but have sys/dir.h. */ |
77 | | -#undef SYSDIR |
| 78 | +/* #undef SYSDIR */ |
78 | 79 |
|
79 | 80 | /* Define if you don't have dirent.h, but have sys/ndir.h. */ |
80 | | -#undef SYSNDIR |
| 81 | +/* #undef SYSNDIR */ |
81 | 82 |
|
82 | 83 | /* Define if you can safely include both <sys/time.h> and <time.h>. */ |
83 | | -#undef TIME_WITH_SYS_TIME |
| 84 | +/* #undef TIME_WITH_SYS_TIME */ |
84 | 85 |
|
85 | 86 | /* Define if your <sys/time.h> declares struct tm. */ |
86 | | -#undef TM_IN_SYS_TIME |
| 87 | +/* #undef TM_IN_SYS_TIME */ |
87 | 88 |
|
88 | 89 | /* Define to `int' if <sys/types.h> doesn't define. */ |
89 | | -#undef uid_t |
| 90 | +/* #undef uid_t */ |
90 | 91 |
|
91 | 92 | /* Define if the closedir function returns void instead of int. */ |
92 | | -#undef VOID_CLOSEDIR |
| 93 | +/* #undef VOID_CLOSEDIR */ |
93 | 94 |
|
94 | 95 | /* Define if your <unistd.h> contains bad prototypes for exec*() |
95 | 96 | (as it does on SGI IRIX 4.x) */ |
96 | | -#undef BAD_EXEC_PROTOTYPES |
| 97 | +/* #undef BAD_EXEC_PROTOTYPES */ |
97 | 98 |
|
98 | | -/* Define if your compiler botches static forward declarations |
99 | | - (as it does on SCI ODT 3.0) */ |
| 99 | +/* Define if your compiler botches static forward declarations */ |
100 | 100 | #ifdef __MWERKS__ |
101 | 101 | #define BAD_STATIC_FORWARD |
102 | | -#else /* MPW and THINK */ |
103 | | -#undef BAD_STATIC_FORWARD |
| 102 | +#endif |
| 103 | +#ifdef __SC__ |
| 104 | +#define BAD_STATIC_FORWARD |
104 | 105 | #endif |
105 | 106 |
|
106 | 107 | /* Define to `long' if <time.h> doesn't define. */ |
107 | | -#undef clock_t |
| 108 | +/* #undef clock_t */ |
108 | 109 |
|
109 | 110 | /* Define if getpgrp() must be called as getpgrp(0) |
110 | 111 | and (consequently) setpgrp() as setpgrp(0, 0). */ |
111 | | -#undef GETPGRP_HAVE_ARG |
| 112 | +/* #undef GETPGRP_HAVE_ARG */ |
112 | 113 |
|
113 | 114 | /* Define this if your time.h defines altzone */ |
114 | | -#undef HAVE_ALTZONE |
| 115 | +/* #undef HAVE_ALTZONE */ |
115 | 116 |
|
116 | 117 | /* Define if your compiler supports function prototypes */ |
117 | 118 | #define HAVE_PROTOTYPES |
|
121 | 122 | #define HAVE_STDARG_PROTOTYPES |
122 | 123 |
|
123 | 124 | /* Define if you have POSIX threads */ |
124 | | -#undef _POSIX_THREADS |
| 125 | +/* #undef _POSIX_THREADS */ |
125 | 126 |
|
126 | 127 | /* Define to empty if the keyword does not work. */ |
127 | | -#undef signed |
| 128 | +/* #undef signed */ |
128 | 129 |
|
129 | 130 | /* Define if you can safely include both <sys/select.h> and <sys/time.h> |
130 | 131 | (which you can't on SCO ODT 3.0). */ |
131 | | -#undef SYS_SELECT_WITH_SYS_TIME |
| 132 | +/* #undef SYS_SELECT_WITH_SYS_TIME */ |
132 | 133 |
|
133 | 134 | /* Define if you want to use SGI (IRIX 4) dynamic linking. |
134 | 135 | This requires the "dl" library by Jack Jansen, |
135 | 136 | ftp://ftp.cwi.nl/pub/dynload/dl-1.6.tar.Z. |
136 | 137 | Don't bother on IRIX 5, it already has dynamic linking using SunOS |
137 | 138 | style shared libraries */ |
138 | | -#undef WITH_SGI_DL |
| 139 | +/* #undef WITH_SGI_DL */ |
139 | 140 |
|
140 | 141 | /* Define if you want to emulate SGI (IRIX 4) dynamic linking. |
141 | 142 | This is rumoured to work on VAX (Ultrix), Sun3 (SunOS 3.4), |
|
146 | 147 | ftp://ftp.cwi.nl/pub/dynload/dld-3.2.3.tar.Z. |
147 | 148 | Don't bother on SunOS 4 or 5, they already have dynamic linking using |
148 | 149 | shared libraries */ |
149 | | -#undef WITH_DL_DLD |
| 150 | +/* #undef WITH_DL_DLD */ |
150 | 151 |
|
151 | 152 | /* Define if you want to compile in rudimentary thread support */ |
152 | | -#undef WITH_THREAD |
| 153 | +/* #undef WITH_THREAD */ |
153 | 154 |
|
154 | 155 | /* Define if you want to use the GNU readline library */ |
155 | | -#undef WITH_READLINE |
| 156 | +/* #undef WITH_READLINE */ |
156 | 157 |
|
157 | 158 | /* Define if you have chown. */ |
158 | | -#undef HAVE_CHOWN |
| 159 | +/* #undef HAVE_CHOWN */ |
159 | 160 |
|
160 | 161 | /* Define if you have clock. */ |
161 | 162 | #define HAVE_CLOCK |
162 | 163 |
|
163 | 164 | /* Define if you have dlopen. */ |
164 | | -#undef HAVE_DLOPEN |
| 165 | +/* #undef HAVE_DLOPEN */ |
165 | 166 |
|
166 | 167 | /* Define if you have ftime. */ |
167 | | -#undef HAVE_FTIME |
| 168 | +/* #undef HAVE_FTIME */ |
168 | 169 |
|
169 | 170 | /* Define if you have getpeername. */ |
170 | | -#undef HAVE_GETPEERNAME |
| 171 | +/* #undef HAVE_GETPEERNAME */ |
171 | 172 |
|
172 | 173 | /* Define if you have getpgrp. */ |
173 | | -#undef HAVE_GETPGRP |
| 174 | +/* #undef HAVE_GETPGRP */ |
174 | 175 |
|
175 | 176 | /* Define if you have getpid. */ |
176 | | -#undef HAVE_GETPID |
| 177 | +/* #undef HAVE_GETPID */ |
177 | 178 |
|
178 | 179 | /* Define if you have gettimeofday. */ |
179 | | -#undef HAVE_GETTIMEOFDAY |
| 180 | +/* #undef HAVE_GETTIMEOFDAY */ |
180 | 181 |
|
181 | 182 | /* Define if you have getwd. */ |
182 | | -#undef HAVE_GETWD |
| 183 | +/* #undef HAVE_GETWD */ |
183 | 184 |
|
184 | 185 | /* Define if you have link. */ |
185 | | -#undef HAVE_LINK |
| 186 | +/* #undef HAVE_LINK */ |
186 | 187 |
|
187 | 188 | /* Define if you have lstat. */ |
188 | | -#undef HAVE_LSTAT |
| 189 | +/* #undef HAVE_LSTAT */ |
189 | 190 |
|
190 | 191 | /* Define if you have nice. */ |
191 | | -#undef HAVE_NICE |
| 192 | +/* #undef HAVE_NICE */ |
192 | 193 |
|
193 | 194 | /* Define if you have readlink. */ |
194 | | -#undef HAVE_READLINK |
| 195 | +/* #undef HAVE_READLINK */ |
195 | 196 |
|
196 | 197 | /* Define if you have select. */ |
197 | | -#undef HAVE_SELECT |
| 198 | +/* #undef HAVE_SELECT */ |
198 | 199 |
|
199 | 200 | /* Define if you have setgid. */ |
200 | | -#undef HAVE_SETGID |
| 201 | +/* #undef HAVE_SETGID */ |
201 | 202 |
|
202 | 203 | /* Define if you have setpgid. */ |
203 | | -#undef HAVE_SETPGID |
| 204 | +/* #undef HAVE_SETPGID */ |
204 | 205 |
|
205 | 206 | /* Define if you have setpgrp. */ |
206 | | -#undef HAVE_SETPGRP |
| 207 | +/* #undef HAVE_SETPGRP */ |
207 | 208 |
|
208 | 209 | /* Define if you have setsid. */ |
209 | | -#undef HAVE_SETSID |
| 210 | +/* #undef HAVE_SETSID */ |
210 | 211 |
|
211 | 212 | /* Define if you have setuid. */ |
212 | | -#undef HAVE_SETUID |
| 213 | +/* #undef HAVE_SETUID */ |
213 | 214 |
|
214 | 215 | /* Define if you have setvbuf. */ |
215 | 216 | #define HAVE_SETVBUF |
216 | 217 |
|
217 | 218 | /* Define if you have siginterrupt. */ |
218 | | -#undef HAVE_SIGINTERRUPT |
| 219 | +/* #undef HAVE_SIGINTERRUPT */ |
219 | 220 |
|
220 | 221 | /* Define if you have symlink. */ |
221 | | -#undef HAVE_SYMLINK |
| 222 | +/* #undef HAVE_SYMLINK */ |
222 | 223 |
|
223 | 224 | /* Define if you have tcgetpgrp. */ |
224 | | -#undef HAVE_TCGETPGRP |
| 225 | +/* #undef HAVE_TCGETPGRP */ |
225 | 226 |
|
226 | 227 | /* Define if you have tcsetpgrp. */ |
227 | | -#undef HAVE_TCSETPGRP |
| 228 | +/* #undef HAVE_TCSETPGRP */ |
228 | 229 |
|
229 | 230 | /* Define if you have times. */ |
230 | | -#undef HAVE_TIMES |
| 231 | +/* #undef HAVE_TIMES */ |
231 | 232 |
|
232 | 233 | /* Define if you have uname. */ |
233 | | -#undef HAVE_UNAME |
| 234 | +/* #undef HAVE_UNAME */ |
234 | 235 |
|
235 | 236 | /* Define if you have waitpid. */ |
236 | | -#undef HAVE_WAITPID |
| 237 | +/* #undef HAVE_WAITPID */ |
237 | 238 |
|
238 | 239 | /* Define if you have the <dlfcn.h> header file. */ |
239 | | -#undef HAVE_DLFCN_H |
| 240 | +/* #undef HAVE_DLFCN_H */ |
240 | 241 |
|
241 | 242 | /* Define if you have the <fcntl.h> header file. */ |
242 | | -#undef HAVE_FCNTL_H |
| 243 | +/* #undef HAVE_FCNTL_H */ |
243 | 244 |
|
244 | 245 | /* Define if you have the <signal.h> header file. */ |
245 | 246 | #define HAVE_SIGNAL_H |
|
251 | 252 | #define HAVE_STDLIB_H |
252 | 253 |
|
253 | 254 | /* Define if you have the <sys/audioio.h> header file. */ |
254 | | -#undef HAVE_SYS_AUDIOIO_H |
| 255 | +/* #undef HAVE_SYS_AUDIOIO_H */ |
255 | 256 |
|
256 | 257 | /* Define if you have the <sys/param.h> header file. */ |
257 | | -#undef HAVE_SYS_PARAM_H |
| 258 | +/* #undef HAVE_SYS_PARAM_H */ |
258 | 259 |
|
259 | 260 | /* Define if you have the <sys/select.h> header file. */ |
260 | | -#undef HAVE_SYS_SELECT_H |
| 261 | +/* #undef HAVE_SYS_SELECT_H */ |
261 | 262 |
|
262 | 263 | /* Define if you have the <sys/time.h> header file. */ |
263 | | -#undef HAVE_SYS_TIME_H |
| 264 | +/* #undef HAVE_SYS_TIME_H */ |
264 | 265 |
|
265 | 266 | /* Define if you have the <sys/times.h> header file. */ |
266 | | -#undef HAVE_SYS_TIMES_H |
| 267 | +/* #undef HAVE_SYS_TIMES_H */ |
267 | 268 |
|
268 | 269 | /* Define if you have the <sys/un.h> header file. */ |
269 | | -#undef HAVE_SYS_UN_H |
| 270 | +/* #undef HAVE_SYS_UN_H */ |
270 | 271 |
|
271 | 272 | /* Define if you have the <sys/utsname.h> header file. */ |
272 | | -#undef HAVE_SYS_UTSNAME_H |
| 273 | +/* #undef HAVE_SYS_UTSNAME_H */ |
273 | 274 |
|
274 | 275 | /* Define if you have the <thread.h> header file. */ |
275 | | -#undef HAVE_THREAD_H |
| 276 | +/* #undef HAVE_THREAD_H */ |
276 | 277 |
|
277 | 278 | /* Define if you have the <unistd.h> header file. */ |
278 | | -#undef HAVE_UNISTD_H |
| 279 | +/* #undef HAVE_UNISTD_H */ |
279 | 280 |
|
280 | 281 | /* Define if you have the <utime.h> header file. */ |
281 | | -#undef HAVE_UTIME_H |
| 282 | +/* #undef HAVE_UTIME_H */ |
282 | 283 |
|
283 | 284 | /* Define if you have the dl library (-ldl). */ |
284 | | -#undef HAVE_LIBDL |
| 285 | +/* #undef HAVE_LIBDL */ |
285 | 286 |
|
286 | 287 | /* Define if you have the inet library (-linet). */ |
287 | | -#undef HAVE_LIBINET |
| 288 | +/* #undef HAVE_LIBINET */ |
288 | 289 |
|
289 | 290 | /* Define if you have the mpc library (-lmpc). */ |
290 | | -#undef HAVE_LIBMPC |
| 291 | +/* #undef HAVE_LIBMPC */ |
291 | 292 |
|
292 | 293 | /* Define if you have the nsl library (-lnsl). */ |
293 | | -#undef HAVE_LIBNSL |
| 294 | +/* #undef HAVE_LIBNSL */ |
294 | 295 |
|
295 | 296 | /* Define if you have the pthreads library (-lpthreads). */ |
296 | | -#undef HAVE_LIBPTHREADS |
| 297 | +/* #undef HAVE_LIBPTHREADS */ |
297 | 298 |
|
298 | 299 | /* Define if you have the seq library (-lseq). */ |
299 | | -#undef HAVE_LIBSEQ |
| 300 | +/* #undef HAVE_LIBSEQ */ |
300 | 301 |
|
301 | 302 | /* Define if you have the socket library (-lsocket). */ |
302 | | -#undef HAVE_LIBSOCKET |
| 303 | +/* #undef HAVE_LIBSOCKET */ |
303 | 304 |
|
304 | 305 | /* Define if you have the sun library (-lsun). */ |
305 | | -#undef HAVE_LIBSUN |
| 306 | +/* #undef HAVE_LIBSUN */ |
306 | 307 |
|
307 | 308 | /* Define if you have the termcap library (-ltermcap). */ |
308 | | -#undef HAVE_LIBTERMCAP |
| 309 | +/* #undef HAVE_LIBTERMCAP */ |
309 | 310 |
|
310 | 311 | /* Define if you have the termlib library (-ltermlib). */ |
311 | | -#undef HAVE_LIBTERMLIB |
| 312 | +/* #undef HAVE_LIBTERMLIB */ |
312 | 313 |
|
313 | 314 | /* Define if you have the thread library (-lthread). */ |
314 | | -#undef HAVE_LIBTHREAD |
| 315 | +/* #undef HAVE_LIBTHREAD */ |
0 commit comments