Commit | Line | Data |
0a753a76 |
1 | /* |
137443ea |
2 | * This file was produced by running the config_h.SH script, which |
3 | * gets its values from config.sh, which is generally produced by |
4 | * running Configure. |
0a753a76 |
5 | * |
6 | * Feel free to modify any of this as the need arises. Note, however, |
7 | * that running config_h.SH again will wipe out any changes you've made. |
8 | * For a more permanent change edit config.sh and rerun config_h.SH. |
9 | * |
10 | * $Id: Config_h.U,v 3.0.1.4 1995/09/25 09:10:49 ram Exp $ |
11 | */ |
12 | |
68dc0745 |
13 | /* Configuration time: Thu Apr 11 06:20:49 PDT 1996 |
14 | * Configured by: garyng |
15 | * Target system: |
0a753a76 |
16 | */ |
17 | |
18 | #ifndef _config_h_ |
19 | #define _config_h_ |
20 | |
21 | /* MEM_ALIGNBYTES: |
22 | * This symbol contains the number of bytes required to align a |
23 | * double. Usual values are 2, 4 and 8. |
24 | */ |
25 | #define MEM_ALIGNBYTES 8 /**/ |
26 | |
27 | /* ARCHNAME: |
68dc0745 |
28 | * This symbol holds a string representing the architecture name. |
29 | * It may be used to construct an architecture-dependant pathname |
30 | * where library files may be held under a private library, for |
31 | * instance. |
0a753a76 |
32 | */ |
68dc0745 |
33 | #define ARCHNAME "MSWin32" /**/ |
0a753a76 |
34 | |
35 | /* BIN: |
36 | * This symbol holds the path of the bin directory where the package will |
37 | * be installed. Program must be prepared to deal with ~name substitution. |
38 | */ |
2ae324a7 |
39 | /* BIN_EXP: |
40 | * This symbol is the filename expanded version of the BIN symbol, for |
41 | * programs that do not want to deal with that at run-time. |
42 | */ |
7bac28a0 |
43 | #define BIN "c:\\perl\\bin" /**/ |
44 | #define BIN_EXP "c:\\perl\\bin" /**/ |
0a753a76 |
45 | |
46 | /* CAT2: |
47 | * This macro catenates 2 tokens together. |
48 | */ |
68dc0745 |
49 | /* STRINGIFY: |
50 | * This macro surrounds its token with double quotes. |
51 | */ |
0a753a76 |
52 | #if 42 == 1 |
53 | #define CAT2(a,b)a/**/b |
54 | #define CAT3(a,b,c)a/**/b/**/c |
55 | #define CAT4(a,b,c,d)a/**/b/**/c/**/d |
56 | #define CAT5(a,b,c,d,e)a/**/b/**/c/**/d/**/e |
57 | #define STRINGIFY(a)"a" |
58 | /* If you can get stringification with catify, tell me how! */ |
59 | #endif |
60 | #if 42 == 42 |
61 | #define CAT2(a,b)a ## b |
62 | #define CAT3(a,b,c)a ## b ## c |
63 | #define CAT4(a,b,c,d)a ## b ## c ## d |
64 | #define CAT5(a,b,c,d,e)a ## b ## c ## d ## e |
65 | #define StGiFy(a)# a |
66 | #define STRINGIFY(a)StGiFy(a) |
67 | #define SCAT2(a,b)StGiFy(a) StGiFy(b) |
68 | #define SCAT3(a,b,c)StGiFy(a) StGiFy(b) StGiFy(c) |
69 | #define SCAT4(a,b,c,d)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) |
70 | #define SCAT5(a,b,c,d,e)StGiFy(a) StGiFy(b) StGiFy(c) StGiFy(d) StGiFy(e) |
71 | #endif |
72 | #ifndef CAT2 |
73 | #include "Bletch: How does this C preprocessor catenate tokens?" |
74 | #endif |
75 | |
76 | /* CPPSTDIN: |
77 | * This symbol contains the first part of the string which will invoke |
78 | * the C preprocessor on the standard input and produce to standard |
79 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
80 | * call a wrapper. See CPPRUN. |
81 | */ |
82 | /* CPPMINUS: |
83 | * This symbol contains the second part of the string which will invoke |
84 | * the C preprocessor on the standard input and produce to standard |
85 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
86 | * to specify standard input, otherwise the value is "". |
87 | */ |
88 | #define CPPSTDIN "cl -E" |
89 | #define CPPMINUS "" |
90 | |
91 | /* HAS_ALARM: |
92 | * This symbol, if defined, indicates that the alarm routine is |
93 | * available. |
94 | */ |
7bac28a0 |
95 | /*#define HAS_ALARM /**/ |
0a753a76 |
96 | |
97 | /* HASATTRIBUTE: |
98 | * This symbol indicates the C compiler can check for function attributes, |
99 | * such as printf formats. This is normally only supported by GNU cc. |
100 | */ |
101 | /*#define HASATTRIBUTE /**/ |
102 | #ifndef HASATTRIBUTE |
103 | #define __attribute__(_arg_) |
104 | #endif |
105 | |
106 | /* HAS_BCMP: |
107 | * This symbol is defined if the bcmp() routine is available to |
108 | * compare blocks of memory. |
109 | */ |
110 | /*#define HAS_BCMP /**/ |
111 | |
112 | /* HAS_BCOPY: |
113 | * This symbol is defined if the bcopy() routine is available to |
114 | * copy blocks of memory. |
115 | */ |
116 | /*#define HAS_BCOPY /**/ |
117 | |
118 | /* HAS_BZERO: |
119 | * This symbol is defined if the bzero() routine is available to |
120 | * set a memory block to 0. |
121 | */ |
122 | /*#define HAS_BZERO /**/ |
123 | |
124 | /* CASTI32: |
125 | * This symbol is defined if the C compiler can cast negative |
126 | * or large floating point numbers to 32-bit ints. |
127 | */ |
128 | #define CASTI32 /**/ |
129 | |
130 | /* CASTNEGFLOAT: |
131 | * This symbol is defined if the C compiler can cast negative |
132 | * numbers to unsigned longs, ints and shorts. |
133 | */ |
134 | /* CASTFLAGS: |
135 | * This symbol contains flags that say what difficulties the compiler |
136 | * has casting odd floating values to unsigned long: |
137 | * 0 = ok |
138 | * 1 = couldn't cast < 0 |
139 | * 2 = couldn't cast >= 0x80000000 |
140 | * 4 = couldn't cast in argument expression list |
141 | */ |
142 | #define CASTNEGFLOAT /**/ |
143 | #define CASTFLAGS 0 /**/ |
144 | |
145 | /* HAS_CHOWN: |
146 | * This symbol, if defined, indicates that the chown routine is |
147 | * available. |
148 | */ |
68dc0745 |
149 | /*#define HAS_CHOWN /**/ |
0a753a76 |
150 | |
151 | /* HAS_CHROOT: |
152 | * This symbol, if defined, indicates that the chroot routine is |
153 | * available. |
154 | */ |
68dc0745 |
155 | /*#define HAS_CHROOT /**/ |
0a753a76 |
156 | |
157 | /* HAS_CHSIZE: |
158 | * This symbol, if defined, indicates that the chsize routine is available |
159 | * to truncate files. You might need a -lx to get this routine. |
160 | */ |
161 | #define HAS_CHSIZE /**/ |
162 | |
163 | /* VOID_CLOSEDIR: |
164 | * This symbol, if defined, indicates that the closedir() routine |
165 | * does not return a value. |
166 | */ |
167 | /*#define VOID_CLOSEDIR /**/ |
168 | |
169 | /* HASCONST: |
170 | * This symbol, if defined, indicates that this C compiler knows about |
171 | * the const type. There is no need to actually test for that symbol |
172 | * within your programs. The mere use of the "const" keyword will |
173 | * trigger the necessary tests. |
174 | */ |
175 | #define HASCONST /**/ |
176 | #ifndef HASCONST |
177 | #define const |
178 | #endif |
179 | |
180 | /* HAS_CRYPT: |
181 | * This symbol, if defined, indicates that the crypt routine is available |
182 | * to encrypt passwords and the like. |
183 | */ |
68dc0745 |
184 | /*#define HAS_CRYPT /**/ |
0a753a76 |
185 | |
186 | /* HAS_CUSERID: |
187 | * This symbol, if defined, indicates that the cuserid routine is |
188 | * available to get character login names. |
189 | */ |
68dc0745 |
190 | /*#define HAS_CUSERID /**/ |
0a753a76 |
191 | |
192 | /* HAS_DBL_DIG: |
193 | * This symbol, if defined, indicates that this system's <float.h> |
194 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
195 | * of significant digits in a double precision number. If this |
196 | * symbol is not defined, a guess of 15 is usually pretty good. |
197 | */ |
68dc0745 |
198 | #define HAS_DBL_DIG /**/ |
0a753a76 |
199 | |
200 | /* HAS_DIFFTIME: |
201 | * This symbol, if defined, indicates that the difftime routine is |
202 | * available. |
203 | */ |
204 | #define HAS_DIFFTIME /**/ |
205 | |
206 | /* HAS_DLERROR: |
207 | * This symbol, if defined, indicates that the dlerror routine is |
208 | * available to return a string describing the last error that |
209 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
210 | */ |
211 | #define HAS_DLERROR /**/ |
212 | |
213 | /* HAS_DUP2: |
214 | * This symbol, if defined, indicates that the dup2 routine is |
215 | * available to duplicate file descriptors. |
216 | */ |
217 | #define HAS_DUP2 /**/ |
218 | |
219 | /* HAS_FCHMOD: |
220 | * This symbol, if defined, indicates that the fchmod routine is available |
221 | * to change mode of opened files. If unavailable, use chmod(). |
222 | */ |
223 | /*#define HAS_FCHMOD /**/ |
224 | |
225 | /* HAS_FCHOWN: |
226 | * This symbol, if defined, indicates that the fchown routine is available |
227 | * to change ownership of opened files. If unavailable, use chown(). |
228 | */ |
229 | /*#define HAS_FCHOWN /**/ |
230 | |
231 | /* HAS_FCNTL: |
232 | * This symbol, if defined, indicates to the C program that |
233 | * the fcntl() function exists. |
234 | */ |
235 | /*#define HAS_FCNTL /**/ |
236 | |
237 | /* HAS_FGETPOS: |
238 | * This symbol, if defined, indicates that the fgetpos routine is |
239 | * available to get the file position indicator, similar to ftell(). |
240 | */ |
241 | #define HAS_FGETPOS /**/ |
242 | |
243 | /* FLEXFILENAMES: |
244 | * This symbol, if defined, indicates that the system supports filenames |
245 | * longer than 14 characters. |
246 | */ |
247 | #define FLEXFILENAMES /**/ |
248 | |
249 | /* HAS_FLOCK: |
250 | * This symbol, if defined, indicates that the flock routine is |
251 | * available to do file locking. |
252 | */ |
7bac28a0 |
253 | #define HAS_FLOCK /**/ |
0a753a76 |
254 | |
255 | /* HAS_FORK: |
256 | * This symbol, if defined, indicates that the fork routine is |
257 | * available. |
258 | */ |
259 | /*#define HAS_FORK /**/ |
260 | |
261 | /* HAS_FSETPOS: |
262 | * This symbol, if defined, indicates that the fsetpos routine is |
263 | * available to set the file position indicator, similar to fseek(). |
264 | */ |
265 | #define HAS_FSETPOS /**/ |
266 | |
68dc0745 |
267 | /* HAS_GETTIMEOFDAY: |
268 | * This symbol, if defined, indicates that the gettimeofday() system |
269 | * call is available for a sub-second accuracy clock. Usually, the file |
270 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
271 | * The type "Timeval" should be used to refer to "struct timeval". |
272 | */ |
273 | /*#define HAS_GETTIMEOFDAY /**/ |
274 | #ifdef HAS_GETTIMEOFDAY |
275 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
276 | #endif |
277 | |
0a753a76 |
278 | /* HAS_GETGROUPS: |
279 | * This symbol, if defined, indicates that the getgroups() routine is |
280 | * available to get the list of process groups. If unavailable, multiple |
281 | * groups are probably not supported. |
282 | */ |
5cd24f17 |
283 | /* HAS_SETGROUPS: |
284 | * This symbol, if defined, indicates that the setgroups() routine is |
285 | * available to set the list of process groups. If unavailable, multiple |
286 | * groups are probably not supported. |
287 | */ |
0a753a76 |
288 | /*#define HAS_GETGROUPS /**/ |
5cd24f17 |
289 | /*#define HAS_SETGROUPS /**/ |
0a753a76 |
290 | |
291 | /* HAS_GETHOSTENT: |
292 | * This symbol, if defined, indicates that the gethostent routine is |
293 | * available to lookup host names in some data base or other. |
294 | */ |
295 | /*#define HAS_GETHOSTENT /**/ |
296 | |
297 | /* HAS_UNAME: |
298 | * This symbol, if defined, indicates that the C program may use the |
299 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
300 | * and PHOSTNAME. |
301 | */ |
302 | /*#define HAS_UNAME /**/ |
303 | |
304 | /* HAS_GETLOGIN: |
305 | * This symbol, if defined, indicates that the getlogin routine is |
306 | * available to get the login name. |
307 | */ |
308 | /*#define HAS_GETLOGIN /**/ |
309 | |
0a753a76 |
310 | /* HAS_GETPGRP2: |
311 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
312 | * routine is available to get the current process group. |
313 | */ |
314 | /*#define HAS_GETPGRP2 /**/ |
315 | |
316 | /* HAS_GETPPID: |
317 | * This symbol, if defined, indicates that the getppid routine is |
318 | * available to get the parent process ID. |
319 | */ |
320 | /*#define HAS_GETPPID /**/ |
321 | |
322 | /* HAS_GETPRIORITY: |
323 | * This symbol, if defined, indicates that the getpriority routine is |
324 | * available to get a process's priority. |
325 | */ |
326 | /*#define HAS_GETPRIORITY /**/ |
327 | |
328 | /* HAS_HTONL: |
329 | * This symbol, if defined, indicates that the htonl() routine (and |
330 | * friends htons() ntohl() ntohs()) are available to do network |
331 | * order byte swapping. |
332 | */ |
333 | /* HAS_HTONS: |
334 | * This symbol, if defined, indicates that the htons() routine (and |
335 | * friends htonl() ntohl() ntohs()) are available to do network |
336 | * order byte swapping. |
337 | */ |
338 | /* HAS_NTOHL: |
339 | * This symbol, if defined, indicates that the ntohl() routine (and |
340 | * friends htonl() htons() ntohs()) are available to do network |
341 | * order byte swapping. |
342 | */ |
343 | /* HAS_NTOHS: |
344 | * This symbol, if defined, indicates that the ntohs() routine (and |
345 | * friends htonl() htons() ntohl()) are available to do network |
346 | * order byte swapping. |
347 | */ |
348 | #define HAS_HTONL /**/ |
349 | #define HAS_HTONS /**/ |
350 | #define HAS_NTOHL /**/ |
351 | #define HAS_NTOHS /**/ |
352 | |
353 | /* HAS_ISASCII: |
354 | * This manifest constant lets the C program know that isascii |
355 | * is available. |
356 | */ |
357 | #define HAS_ISASCII /**/ |
358 | |
359 | /* HAS_KILLPG: |
360 | * This symbol, if defined, indicates that the killpg routine is available |
361 | * to kill process groups. If unavailable, you probably should use kill |
362 | * with a negative process number. |
363 | */ |
364 | /*#define HAS_KILLPG /**/ |
365 | |
366 | /* HAS_LINK: |
367 | * This symbol, if defined, indicates that the link routine is |
368 | * available to create hard links. |
369 | */ |
370 | /*#define HAS_LINK /**/ |
371 | |
372 | /* HAS_LOCALECONV: |
373 | * This symbol, if defined, indicates that the localeconv routine is |
374 | * available for numeric and monetary formatting conventions. |
375 | */ |
376 | #define HAS_LOCALECONV /**/ |
377 | |
378 | /* HAS_LOCKF: |
379 | * This symbol, if defined, indicates that the lockf routine is |
380 | * available to do file locking. |
381 | */ |
382 | /*#define HAS_LOCKF /**/ |
383 | |
384 | /* HAS_LSTAT: |
385 | * This symbol, if defined, indicates that the lstat routine is |
386 | * available to do file stats on symbolic links. |
387 | */ |
388 | /*#define HAS_LSTAT /**/ |
389 | |
390 | /* HAS_MBLEN: |
391 | * This symbol, if defined, indicates that the mblen routine is available |
392 | * to find the number of bytes in a multibye character. |
393 | */ |
394 | #define HAS_MBLEN /**/ |
395 | |
396 | /* HAS_MBSTOWCS: |
397 | * This symbol, if defined, indicates that the mbstowcs routine is |
398 | * available to covert a multibyte string into a wide character string. |
399 | */ |
400 | #define HAS_MBSTOWCS /**/ |
401 | |
402 | /* HAS_MBTOWC: |
403 | * This symbol, if defined, indicates that the mbtowc routine is available |
404 | * to covert a multibyte to a wide character. |
405 | */ |
406 | #define HAS_MBTOWC /**/ |
407 | |
408 | /* HAS_MEMCMP: |
409 | * This symbol, if defined, indicates that the memcmp routine is available |
410 | * to compare blocks of memory. |
411 | */ |
412 | #define HAS_MEMCMP /**/ |
413 | |
414 | /* HAS_MEMCPY: |
415 | * This symbol, if defined, indicates that the memcpy routine is available |
416 | * to copy blocks of memory. |
417 | */ |
418 | #define HAS_MEMCPY /**/ |
419 | |
420 | /* HAS_MEMMOVE: |
421 | * This symbol, if defined, indicates that the memmove routine is available |
422 | * to copy potentially overlapping blocks of memory. This should be used |
423 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
424 | * own version. |
425 | */ |
426 | #define HAS_MEMMOVE /**/ |
427 | |
428 | /* HAS_MEMSET: |
429 | * This symbol, if defined, indicates that the memset routine is available |
430 | * to set blocks of memory. |
431 | */ |
432 | #define HAS_MEMSET /**/ |
433 | |
434 | /* HAS_MKDIR: |
435 | * This symbol, if defined, indicates that the mkdir routine is available |
436 | * to create directories. Otherwise you should fork off a new process to |
437 | * exec /bin/mkdir. |
438 | */ |
439 | #define HAS_MKDIR /**/ |
440 | |
441 | /* HAS_MKFIFO: |
442 | * This symbol, if defined, indicates that the mkfifo routine is |
443 | * available to create FIFOs. Otherwise, mknod should be able to |
444 | * do it for you. However, if mkfifo is there, mknod might require |
445 | * super-user privileges which mkfifo will not. |
446 | */ |
447 | /*#define HAS_MKFIFO /**/ |
448 | |
449 | /* HAS_MKTIME: |
450 | * This symbol, if defined, indicates that the mktime routine is |
451 | * available. |
452 | */ |
453 | #define HAS_MKTIME /**/ |
454 | |
455 | /* HAS_MSG: |
456 | * This symbol, if defined, indicates that the entire msg*(2) library is |
457 | * supported (IPC mechanism based on message queues). |
458 | */ |
459 | /*#define HAS_MSG /**/ |
460 | |
461 | /* HAS_NICE: |
462 | * This symbol, if defined, indicates that the nice routine is |
463 | * available. |
464 | */ |
465 | /*#define HAS_NICE /**/ |
466 | |
467 | /* HAS_OPEN3: |
468 | * This manifest constant lets the C program know that the three |
469 | * argument form of open(2) is available. |
470 | */ |
471 | /*#define HAS_OPEN3 /**/ |
472 | |
473 | /* HAS_PATHCONF: |
474 | * This symbol, if defined, indicates that pathconf() is available |
475 | * to determine file-system related limits and options associated |
476 | * with a given filename. |
477 | */ |
478 | /* HAS_FPATHCONF: |
479 | * This symbol, if defined, indicates that pathconf() is available |
480 | * to determine file-system related limits and options associated |
481 | * with a given open file descriptor. |
482 | */ |
68dc0745 |
483 | /*#define HAS_PATHCONF /**/ |
484 | /*#define HAS_FPATHCONF /**/ |
0a753a76 |
485 | |
486 | /* HAS_PAUSE: |
487 | * This symbol, if defined, indicates that the pause routine is |
488 | * available to suspend a process until a signal is received. |
489 | */ |
490 | #define HAS_PAUSE /**/ |
491 | |
492 | /* HAS_PIPE: |
493 | * This symbol, if defined, indicates that the pipe routine is |
494 | * available to create an inter-process channel. |
495 | */ |
496 | #define HAS_PIPE /**/ |
497 | |
498 | /* HAS_POLL: |
499 | * This symbol, if defined, indicates that the poll routine is |
500 | * available to poll active file descriptors. |
501 | */ |
68dc0745 |
502 | /*#define HAS_POLL /**/ |
0a753a76 |
503 | |
504 | /* HAS_READDIR: |
505 | * This symbol, if defined, indicates that the readdir routine is |
506 | * available to read directory entries. You may have to include |
507 | * <dirent.h>. See I_DIRENT. |
508 | */ |
509 | #define HAS_READDIR /**/ |
510 | |
511 | /* HAS_SEEKDIR: |
512 | * This symbol, if defined, indicates that the seekdir routine is |
513 | * available. You may have to include <dirent.h>. See I_DIRENT. |
514 | */ |
515 | #define HAS_SEEKDIR /**/ |
516 | |
517 | /* HAS_TELLDIR: |
518 | * This symbol, if defined, indicates that the telldir routine is |
519 | * available. You may have to include <dirent.h>. See I_DIRENT. |
520 | */ |
521 | #define HAS_TELLDIR /**/ |
522 | |
523 | /* HAS_REWINDDIR: |
524 | * This symbol, if defined, indicates that the rewinddir routine is |
525 | * available. You may have to include <dirent.h>. See I_DIRENT. |
526 | */ |
527 | #define HAS_REWINDDIR /**/ |
528 | |
529 | /* HAS_READLINK: |
530 | * This symbol, if defined, indicates that the readlink routine is |
531 | * available to read the value of a symbolic link. |
532 | */ |
68dc0745 |
533 | /*#define HAS_READLINK /**/ |
0a753a76 |
534 | |
535 | /* HAS_RENAME: |
536 | * This symbol, if defined, indicates that the rename routine is available |
537 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
538 | * trick. |
539 | */ |
540 | #define HAS_RENAME /**/ |
541 | |
542 | /* HAS_RMDIR: |
543 | * This symbol, if defined, indicates that the rmdir routine is |
544 | * available to remove directories. Otherwise you should fork off a |
545 | * new process to exec /bin/rmdir. |
546 | */ |
547 | #define HAS_RMDIR /**/ |
548 | |
549 | /* HAS_SAFE_BCOPY: |
550 | * This symbol, if defined, indicates that the bcopy routine is available |
551 | * to copy potentially overlapping memory blocks. Otherwise you should |
552 | * probably use memmove() or memcpy(). If neither is defined, roll your |
553 | * own version. |
554 | */ |
555 | /*#define HAS_SAFE_BCOPY /**/ |
556 | |
557 | /* HAS_SAFE_MEMCPY: |
558 | * This symbol, if defined, indicates that the memcpy routine is available |
559 | * to copy potentially overlapping memory blocks. Otherwise you should |
560 | * probably use memmove() or memcpy(). If neither is defined, roll your |
561 | * own version. |
562 | */ |
563 | /*#define HAS_SAFE_MEMCPY /**/ |
564 | |
68dc0745 |
565 | /* HAS_SANE_MEMCMP: |
566 | * This symbol, if defined, indicates that the memcmp routine is available |
567 | * and can be used to compare relative magnitudes of chars with their high |
568 | * bits set. If it is not defined, roll your own version. |
569 | */ |
570 | #define HAS_SANE_MEMCMP /**/ |
571 | |
0a753a76 |
572 | /* HAS_SELECT: |
573 | * This symbol, if defined, indicates that the select routine is |
574 | * available to select active file descriptors. If the timeout field |
575 | * is used, <sys/time.h> may need to be included. |
576 | */ |
577 | #define HAS_SELECT /**/ |
578 | |
579 | /* HAS_SEM: |
580 | * This symbol, if defined, indicates that the entire sem*(2) library is |
581 | * supported. |
582 | */ |
68dc0745 |
583 | /*#define HAS_SEM /**/ |
0a753a76 |
584 | |
585 | /* HAS_SETEGID: |
586 | * This symbol, if defined, indicates that the setegid routine is available |
587 | * to change the effective gid of the current program. |
588 | */ |
68dc0745 |
589 | /*#define HAS_SETEGID /**/ |
0a753a76 |
590 | |
591 | /* HAS_SETEUID: |
592 | * This symbol, if defined, indicates that the seteuid routine is available |
593 | * to change the effective uid of the current program. |
594 | */ |
68dc0745 |
595 | /*#define HAS_SETEUID /**/ |
0a753a76 |
596 | |
597 | /* HAS_SETLINEBUF: |
598 | * This symbol, if defined, indicates that the setlinebuf routine is |
599 | * available to change stderr or stdout from block-buffered or unbuffered |
600 | * to a line-buffered mode. |
601 | */ |
602 | /*#define HAS_SETLINEBUF /**/ |
603 | |
604 | /* HAS_SETLOCALE: |
605 | * This symbol, if defined, indicates that the setlocale routine is |
606 | * available to handle locale-specific ctype implementations. |
607 | */ |
608 | #define HAS_SETLOCALE /**/ |
609 | |
0a753a76 |
610 | /* HAS_SETPGRP2: |
611 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
612 | * routine is available to set the current process group. |
613 | */ |
614 | /*#define HAS_SETPGRP2 /**/ |
615 | |
616 | /* HAS_SETPRIORITY: |
617 | * This symbol, if defined, indicates that the setpriority routine is |
618 | * available to set a process's priority. |
619 | */ |
620 | /*#define HAS_SETPRIORITY /**/ |
621 | |
622 | /* HAS_SETREGID: |
623 | * This symbol, if defined, indicates that the setregid routine is |
624 | * available to change the real and effective gid of the current |
625 | * process. |
626 | */ |
627 | /* HAS_SETRESGID: |
628 | * This symbol, if defined, indicates that the setresgid routine is |
629 | * available to change the real, effective and saved gid of the current |
630 | * process. |
631 | */ |
632 | /*#define HAS_SETREGID /**/ |
633 | /*#define HAS_SETRESGID /**/ |
634 | |
635 | /* HAS_SETREUID: |
636 | * This symbol, if defined, indicates that the setreuid routine is |
637 | * available to change the real and effective uid of the current |
638 | * process. |
639 | */ |
640 | /* HAS_SETRESUID: |
641 | * This symbol, if defined, indicates that the setresuid routine is |
642 | * available to change the real, effective and saved uid of the current |
643 | * process. |
644 | */ |
645 | /*#define HAS_SETREUID /**/ |
646 | /*#define HAS_SETRESUID /**/ |
647 | |
648 | /* HAS_SETRGID: |
649 | * This symbol, if defined, indicates that the setrgid routine is available |
650 | * to change the real gid of the current program. |
651 | */ |
652 | /*#define HAS_SETRGID /**/ |
653 | |
654 | /* HAS_SETRUID: |
655 | * This symbol, if defined, indicates that the setruid routine is available |
656 | * to change the real uid of the current program. |
657 | */ |
658 | /*#define HAS_SETRUID /**/ |
659 | |
660 | /* HAS_SETSID: |
661 | * This symbol, if defined, indicates that the setsid routine is |
662 | * available to set the process group ID. |
663 | */ |
68dc0745 |
664 | /*#define HAS_SETSID /**/ |
0a753a76 |
665 | |
666 | /* HAS_SHM: |
667 | * This symbol, if defined, indicates that the entire shm*(2) library is |
668 | * supported. |
669 | */ |
68dc0745 |
670 | /*#define HAS_SHM /**/ |
0a753a76 |
671 | |
672 | /* Shmat_t: |
673 | * This symbol holds the return type of the shmat() system call. |
674 | * Usually set to 'void *' or 'char *'. |
675 | */ |
676 | /* HAS_SHMAT_PROTOTYPE: |
677 | * This symbol, if defined, indicates that the sys/shm.h includes |
678 | * a prototype for shmat(). Otherwise, it is up to the program to |
679 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
680 | * but not always right so it should be emitted by the program only |
681 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
682 | */ |
68dc0745 |
683 | #define Shmat_t void * /**/ |
684 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
0a753a76 |
685 | |
686 | /* HAS_SIGACTION: |
687 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
688 | * is available. |
689 | */ |
68dc0745 |
690 | /*#define HAS_SIGACTION /**/ |
0a753a76 |
691 | |
692 | /* HAS_SOCKET: |
693 | * This symbol, if defined, indicates that the BSD socket interface is |
694 | * supported. |
695 | */ |
696 | /* HAS_SOCKETPAIR: |
697 | * This symbol, if defined, indicates that the BSD socketpair() call is |
698 | * supported. |
699 | */ |
700 | #define HAS_SOCKET /**/ |
68dc0745 |
701 | /*#define HAS_SOCKETPAIR /**/ |
0a753a76 |
702 | |
703 | /* USE_STAT_BLOCKS: |
704 | * This symbol is defined if this system has a stat structure declaring |
705 | * st_blksize and st_blocks. |
706 | */ |
68dc0745 |
707 | /*#define USE_STAT_BLOCKS /**/ |
0a753a76 |
708 | |
709 | /* USE_STDIO_PTR: |
710 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
711 | * of the stdio FILE structure can be used to access the stdio buffer |
712 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
713 | * and FILE_cnt(fp) macros will also be defined and should be used |
714 | * to access these fields. |
715 | */ |
0a753a76 |
716 | /* FILE_ptr: |
717 | * This macro is used to access the _ptr field (or equivalent) of the |
718 | * FILE structure pointed to by its argument. This macro will always be |
719 | * defined if USE_STDIO_PTR is defined. |
720 | */ |
721 | /* STDIO_PTR_LVALUE: |
722 | * This symbol is defined if the FILE_ptr macro can be used as an |
723 | * lvalue. |
724 | */ |
725 | /* FILE_cnt: |
726 | * This macro is used to access the _cnt field (or equivalent) of the |
727 | * FILE structure pointed to by its argument. This macro will always be |
728 | * defined if USE_STDIO_PTR is defined. |
729 | */ |
730 | /* STDIO_CNT_LVALUE: |
731 | * This symbol is defined if the FILE_cnt macro can be used as an |
732 | * lvalue. |
733 | */ |
68dc0745 |
734 | #define USE_STDIO_PTR /**/ |
0a753a76 |
735 | #ifdef USE_STDIO_PTR |
736 | #define FILE_ptr(fp) ((fp)->_ptr) |
737 | #define STDIO_PTR_LVALUE /**/ |
738 | #define FILE_cnt(fp) ((fp)->_cnt) |
739 | #define STDIO_CNT_LVALUE /**/ |
740 | #endif |
741 | |
68dc0745 |
742 | /* USE_STDIO_BASE: |
743 | * This symbol is defined if the _base field (or similar) of the |
744 | * stdio FILE structure can be used to access the stdio buffer for |
745 | * a file handle. If this is defined, then the FILE_base(fp) macro |
746 | * will also be defined and should be used to access this field. |
747 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
748 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
749 | * will never be defined unless USE_STDIO_PTR is. |
750 | */ |
0a753a76 |
751 | /* FILE_base: |
752 | * This macro is used to access the _base field (or equivalent) of the |
753 | * FILE structure pointed to by its argument. This macro will always be |
754 | * defined if USE_STDIO_BASE is defined. |
755 | */ |
756 | /* FILE_bufsiz: |
757 | * This macro is used to determine the number of bytes in the I/O |
758 | * buffer pointed to by _base field (or equivalent) of the FILE |
759 | * structure pointed to its argument. This macro will always be defined |
760 | * if USE_STDIO_BASE is defined. |
761 | */ |
68dc0745 |
762 | #define USE_STDIO_BASE /**/ |
0a753a76 |
763 | #ifdef USE_STDIO_BASE |
764 | #define FILE_base(fp) ((fp)->_base) |
765 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
766 | #endif |
767 | |
768 | /* HAS_STRCHR: |
769 | * This symbol is defined to indicate that the strchr()/strrchr() |
770 | * functions are available for string searching. If not, try the |
771 | * index()/rindex() pair. |
772 | */ |
773 | /* HAS_INDEX: |
774 | * This symbol is defined to indicate that the index()/rindex() |
775 | * functions are available for string searching. |
776 | */ |
777 | #define HAS_STRCHR /**/ |
778 | /*#define HAS_INDEX /**/ |
779 | |
780 | /* HAS_STRCOLL: |
781 | * This symbol, if defined, indicates that the strcoll routine is |
782 | * available to compare strings using collating information. |
783 | */ |
784 | #define HAS_STRCOLL /**/ |
785 | |
786 | /* USE_STRUCT_COPY: |
787 | * This symbol, if defined, indicates that this C compiler knows how |
788 | * to copy structures. If undefined, you'll need to use a block copy |
789 | * routine of some sort instead. |
790 | */ |
791 | #define USE_STRUCT_COPY /**/ |
792 | |
793 | /* HAS_STRERROR: |
794 | * This symbol, if defined, indicates that the strerror routine is |
795 | * available to translate error numbers to strings. See the writeup |
796 | * of Strerror() in this file before you try to define your own. |
797 | */ |
798 | /* HAS_SYS_ERRLIST: |
799 | * This symbol, if defined, indicates that the sys_errlist array is |
800 | * available to translate error numbers to strings. The extern int |
801 | * sys_nerr gives the size of that table. |
802 | */ |
803 | /* Strerror: |
804 | * This preprocessor symbol is defined as a macro if strerror() is |
805 | * not available to translate error numbers to strings but sys_errlist[] |
806 | * array is there. |
807 | */ |
808 | #define HAS_STRERROR /**/ |
809 | #define HAS_SYS_ERRLIST /**/ |
810 | #define Strerror(e) strerror(e) |
811 | |
68dc0745 |
812 | /* HAS_STRTOD: |
813 | * This symbol, if defined, indicates that the strtod routine is |
814 | * available to provide better numeric string conversion than atof(). |
815 | */ |
816 | #define HAS_STRTOD /**/ |
817 | |
818 | /* HAS_STRTOL: |
819 | * This symbol, if defined, indicates that the strtol routine is available |
820 | * to provide better numeric string conversion than atoi() and friends. |
821 | */ |
822 | #define HAS_STRTOL /**/ |
823 | |
824 | /* HAS_STRTOUL: |
825 | * This symbol, if defined, indicates that the strtoul routine is |
826 | * available to provide conversion of strings to unsigned long. |
827 | */ |
828 | #define HAS_STRTOUL /**/ |
829 | |
0a753a76 |
830 | /* HAS_STRXFRM: |
831 | * This symbol, if defined, indicates that the strxfrm() routine is |
832 | * available to transform strings. |
833 | */ |
834 | #define HAS_STRXFRM /**/ |
835 | |
836 | /* HAS_SYMLINK: |
837 | * This symbol, if defined, indicates that the symlink routine is available |
838 | * to create symbolic links. |
839 | */ |
68dc0745 |
840 | /*#define HAS_SYMLINK /**/ |
0a753a76 |
841 | |
842 | /* HAS_SYSCALL: |
843 | * This symbol, if defined, indicates that the syscall routine is |
844 | * available to call arbitrary system calls. If undefined, that's tough. |
845 | */ |
68dc0745 |
846 | /*#define HAS_SYSCALL /**/ |
0a753a76 |
847 | |
848 | /* HAS_SYSCONF: |
849 | * This symbol, if defined, indicates that sysconf() is available |
850 | * to determine system related limits and options. |
851 | */ |
68dc0745 |
852 | /*#define HAS_SYSCONF /**/ |
0a753a76 |
853 | |
854 | /* HAS_SYSTEM: |
855 | * This symbol, if defined, indicates that the system routine is |
856 | * available to issue a shell command. |
857 | */ |
858 | #define HAS_SYSTEM /**/ |
859 | |
860 | /* HAS_TCGETPGRP: |
861 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
862 | * available to get foreground process group ID. |
863 | */ |
68dc0745 |
864 | /*#define HAS_TCGETPGRP /**/ |
0a753a76 |
865 | |
866 | /* HAS_TCSETPGRP: |
867 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
868 | * available to set foreground process group ID. |
869 | */ |
68dc0745 |
870 | /*#define HAS_TCSETPGRP /**/ |
0a753a76 |
871 | |
872 | /* Time_t: |
873 | * This symbol holds the type returned by time(). It can be long, |
874 | * or time_t on BSD sites (in which case <sys/types.h> should be |
875 | * included). |
876 | */ |
877 | #define Time_t time_t /* Time type */ |
878 | |
879 | /* HAS_TIMES: |
880 | * This symbol, if defined, indicates that the times() routine exists. |
881 | * Note that this became obsolete on some systems (SUNOS), which now |
882 | * use getrusage(). It may be necessary to include <sys/times.h>. |
883 | */ |
884 | #define HAS_TIMES /**/ |
885 | |
886 | /* HAS_TRUNCATE: |
887 | * This symbol, if defined, indicates that the truncate routine is |
888 | * available to truncate files. |
889 | */ |
68dc0745 |
890 | /*#define HAS_TRUNCATE /**/ |
0a753a76 |
891 | |
892 | /* HAS_TZNAME: |
893 | * This symbol, if defined, indicates that the tzname[] array is |
894 | * available to access timezone names. |
895 | */ |
896 | #define HAS_TZNAME /**/ |
897 | |
898 | /* HAS_UMASK: |
899 | * This symbol, if defined, indicates that the umask routine is |
900 | * available to set and get the value of the file creation mask. |
901 | */ |
902 | #define HAS_UMASK /**/ |
903 | |
904 | /* HAS_VFORK: |
905 | * This symbol, if defined, indicates that vfork() exists. |
906 | */ |
907 | /*#define HAS_VFORK /**/ |
908 | |
909 | /* Signal_t: |
910 | * This symbol's value is either "void" or "int", corresponding to the |
911 | * appropriate return type of a signal handler. Thus, you can declare |
912 | * a signal handler using "Signal_t (*handler)()", and define the |
913 | * handler using "Signal_t handler(sig)". |
914 | */ |
915 | #define Signal_t void /* Signal handler's return type */ |
916 | |
917 | /* HASVOLATILE: |
918 | * This symbol, if defined, indicates that this C compiler knows about |
919 | * the volatile declaration. |
920 | */ |
921 | #define HASVOLATILE /**/ |
922 | #ifndef HASVOLATILE |
923 | #define volatile |
924 | #endif |
925 | |
926 | /* HAS_VPRINTF: |
927 | * This symbol, if defined, indicates that the vprintf routine is available |
928 | * to printf with a pointer to an argument list. If unavailable, you |
929 | * may need to write your own, probably in terms of _doprnt(). |
930 | */ |
931 | /* USE_CHAR_VSPRINTF: |
932 | * This symbol is defined if this system has vsprintf() returning type |
933 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
934 | * is up to the package author to declare vsprintf correctly based on the |
935 | * symbol. |
936 | */ |
937 | #define HAS_VPRINTF /**/ |
938 | /*#define USE_CHAR_VSPRINTF /**/ |
939 | |
940 | /* HAS_WAIT4: |
941 | * This symbol, if defined, indicates that wait4() exists. |
942 | */ |
943 | /*#define HAS_WAIT4 /**/ |
944 | |
945 | /* HAS_WAITPID: |
946 | * This symbol, if defined, indicates that the waitpid routine is |
947 | * available to wait for child process. |
948 | */ |
68dc0745 |
949 | /*#define HAS_WAITPID /**/ |
0a753a76 |
950 | |
951 | /* HAS_WCSTOMBS: |
952 | * This symbol, if defined, indicates that the wcstombs routine is |
953 | * available to convert wide character strings to multibyte strings. |
954 | */ |
955 | #define HAS_WCSTOMBS /**/ |
956 | |
957 | /* HAS_WCTOMB: |
958 | * This symbol, if defined, indicates that the wctomb routine is available |
959 | * to covert a wide character to a multibyte. |
960 | */ |
961 | #define HAS_WCTOMB /**/ |
962 | |
963 | /* Fpos_t: |
964 | * This symbol holds the type used to declare file positions in libc. |
965 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
966 | * <sys/types.h> to get any typedef'ed information. |
967 | */ |
968 | #define Fpos_t fpos_t /* File position type */ |
969 | |
970 | /* Gid_t: |
971 | * This symbol holds the return type of getgid() and the type of |
972 | * argument to setrgid() and related functions. Typically, |
973 | * it is the type of group ids in the kernel. It can be int, ushort, |
974 | * uid_t, etc... It may be necessary to include <sys/types.h> to get |
975 | * any typedef'ed information. |
976 | */ |
977 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
978 | |
979 | /* Groups_t: |
980 | * This symbol holds the type used for the second argument to |
5cd24f17 |
981 | * [gs]etgroups(). Usually, this is the same of gidtype, but |
0a753a76 |
982 | * sometimes it isn't. It can be int, ushort, uid_t, etc... |
983 | * It may be necessary to include <sys/types.h> to get any |
984 | * typedef'ed information. This is only required if you have |
5cd24f17 |
985 | * getgroups() or setgroups(). |
0a753a76 |
986 | */ |
5cd24f17 |
987 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
988 | #define Groups_t gid_t /* Type for 2nd arg to [gs]etgroups() */ |
0a753a76 |
989 | #endif |
990 | |
991 | /* DB_Prefix_t: |
992 | * This symbol contains the type of the prefix structure element |
993 | * in the <db.h> header file. In older versions of DB, it was |
994 | * int, while in newer ones it is u_int32_t. |
995 | */ |
996 | /* DB_Hash_t: |
997 | * This symbol contains the type of the prefix structure element |
998 | * in the <db.h> header file. In older versions of DB, it was |
999 | * int, while in newer ones it is size_t. |
1000 | */ |
1001 | #define DB_Hash_t int /**/ |
1002 | #define DB_Prefix_t int /**/ |
1003 | |
1004 | /* I_DIRENT: |
1005 | * This symbol, if defined, indicates to the C program that it should |
1006 | * include <dirent.h>. Using this symbol also triggers the definition |
1007 | * of the Direntry_t define which ends up being 'struct dirent' or |
1008 | * 'struct direct' depending on the availability of <dirent.h>. |
1009 | */ |
1010 | /* DIRNAMLEN: |
1011 | * This symbol, if defined, indicates to the C program that the length |
1012 | * of directory entry names is provided by a d_namlen field. Otherwise |
1013 | * you need to do strlen() on the d_name field. |
1014 | */ |
1015 | /* Direntry_t: |
1016 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
1017 | * whether dirent is available or not. You should use this pseudo type to |
1018 | * portably declare your directory entries. |
1019 | */ |
1020 | #define I_DIRENT /**/ |
1021 | #define DIRNAMLEN /**/ |
1022 | #define Direntry_t struct direct |
1023 | |
1024 | /* I_DLFCN: |
1025 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
1026 | * be included. |
1027 | */ |
1028 | #define I_DLFCN /**/ |
1029 | |
1030 | /* I_FCNTL: |
1031 | * This manifest constant tells the C program to include <fcntl.h>. |
1032 | */ |
1033 | #define I_FCNTL /**/ |
1034 | |
1035 | /* I_FLOAT: |
1036 | * This symbol, if defined, indicates to the C program that it should |
1037 | * include <float.h> to get definition of symbols like DBL_MAX or |
1038 | * DBL_MIN, i.e. machine dependent floating point values. |
1039 | */ |
1040 | #define I_FLOAT /**/ |
1041 | |
1042 | /* I_GRP: |
1043 | * This symbol, if defined, indicates to the C program that it should |
1044 | * include <grp.h>. |
1045 | */ |
1046 | #define I_GRP /**/ |
1047 | |
1048 | /* I_LIMITS: |
1049 | * This symbol, if defined, indicates to the C program that it should |
1050 | * include <limits.h> to get definition of symbols like WORD_BIT or |
1051 | * LONG_MAX, i.e. machine dependant limitations. |
1052 | */ |
1053 | #define I_LIMITS /**/ |
1054 | |
1055 | /* I_MATH: |
1056 | * This symbol, if defined, indicates to the C program that it should |
1057 | * include <math.h>. |
1058 | */ |
1059 | #define I_MATH /**/ |
1060 | |
1061 | /* I_MEMORY: |
1062 | * This symbol, if defined, indicates to the C program that it should |
1063 | * include <memory.h>. |
1064 | */ |
1065 | /*#define I_MEMORY /**/ |
1066 | |
1067 | /* I_NDBM: |
1068 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
1069 | * be included. |
1070 | */ |
7bac28a0 |
1071 | /*#define I_NDBM /**/ |
0a753a76 |
1072 | |
1073 | /* I_NET_ERRNO: |
1074 | * This symbol, if defined, indicates that <net/errno.h> exists and |
1075 | * should be included. |
1076 | */ |
1077 | /*#define I_NET_ERRNO /**/ |
1078 | |
1079 | /* I_NETINET_IN: |
1080 | * This symbol, if defined, indicates to the C program that it should |
1081 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
1082 | */ |
1083 | /*#define I_NETINET_IN /**/ |
1084 | |
1085 | /* I_PWD: |
1086 | * This symbol, if defined, indicates to the C program that it should |
1087 | * include <pwd.h>. |
1088 | */ |
1089 | /* PWQUOTA: |
1090 | * This symbol, if defined, indicates to the C program that struct passwd |
1091 | * contains pw_quota. |
1092 | */ |
1093 | /* PWAGE: |
1094 | * This symbol, if defined, indicates to the C program that struct passwd |
1095 | * contains pw_age. |
1096 | */ |
1097 | /* PWCHANGE: |
1098 | * This symbol, if defined, indicates to the C program that struct passwd |
1099 | * contains pw_change. |
1100 | */ |
1101 | /* PWCLASS: |
1102 | * This symbol, if defined, indicates to the C program that struct passwd |
1103 | * contains pw_class. |
1104 | */ |
1105 | /* PWEXPIRE: |
1106 | * This symbol, if defined, indicates to the C program that struct passwd |
1107 | * contains pw_expire. |
1108 | */ |
1109 | /* PWCOMMENT: |
1110 | * This symbol, if defined, indicates to the C program that struct passwd |
1111 | * contains pw_comment. |
1112 | */ |
1113 | /*#define I_PWD /**/ |
1114 | /*#define PWQUOTA /**/ |
1115 | /*#define PWAGE /**/ |
1116 | /*#define PWCHANGE /**/ |
1117 | /*#define PWCLASS /**/ |
1118 | /*#define PWEXPIRE /**/ |
1119 | /*#define PWCOMMENT /**/ |
1120 | |
1121 | /* I_STDDEF: |
1122 | * This symbol, if defined, indicates that <stddef.h> exists and should |
1123 | * be included. |
1124 | */ |
1125 | #define I_STDDEF /**/ |
1126 | |
1127 | /* I_STDLIB: |
1128 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
1129 | * be included. |
1130 | */ |
1131 | #define I_STDLIB /**/ |
1132 | |
1133 | /* I_STRING: |
1134 | * This symbol, if defined, indicates to the C program that it should |
1135 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
1136 | */ |
1137 | #define I_STRING /**/ |
1138 | |
1139 | /* I_SYS_DIR: |
1140 | * This symbol, if defined, indicates to the C program that it should |
1141 | * include <sys/dir.h>. |
1142 | */ |
1143 | /*#define I_SYS_DIR /**/ |
1144 | |
1145 | /* I_SYS_FILE: |
1146 | * This symbol, if defined, indicates to the C program that it should |
1147 | * include <sys/file.h> to get definition of R_OK and friends. |
1148 | */ |
1149 | /*#define I_SYS_FILE /**/ |
1150 | |
1151 | /* I_SYS_IOCTL: |
1152 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
1153 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
1154 | */ |
1155 | /*#define I_SYS_IOCTL /**/ |
1156 | |
1157 | /* I_SYS_NDIR: |
1158 | * This symbol, if defined, indicates to the C program that it should |
1159 | * include <sys/ndir.h>. |
1160 | */ |
1161 | /*#define I_SYS_NDIR /**/ |
1162 | |
1163 | /* I_SYS_PARAM: |
1164 | * This symbol, if defined, indicates to the C program that it should |
1165 | * include <sys/param.h>. |
1166 | */ |
1167 | /*#define I_SYS_PARAM /**/ |
1168 | |
68dc0745 |
1169 | /* I_SYS_RESOURCE: |
1170 | * This symbol, if defined, indicates to the C program that it should |
1171 | * include <sys/resource.h>. |
1172 | */ |
1173 | /*#define I_SYS_RESOURCE /**/ |
1174 | |
0a753a76 |
1175 | /* I_SYS_SELECT: |
1176 | * This symbol, if defined, indicates to the C program that it should |
1177 | * include <sys/select.h> in order to get definition of struct timeval. |
1178 | */ |
68dc0745 |
1179 | /*#define I_SYS_SELECT /**/ |
0a753a76 |
1180 | |
1181 | /* I_SYS_TIMES: |
1182 | * This symbol, if defined, indicates to the C program that it should |
1183 | * include <sys/times.h>. |
1184 | */ |
1185 | /*#define I_SYS_TIMES /**/ |
1186 | |
1187 | /* I_SYS_TYPES: |
1188 | * This symbol, if defined, indicates to the C program that it should |
1189 | * include <sys/types.h>. |
1190 | */ |
1191 | #define I_SYS_TYPES /**/ |
1192 | |
1193 | /* I_SYS_UN: |
1194 | * This symbol, if defined, indicates to the C program that it should |
1195 | * include <sys/un.h> to get UNIX domain socket definitions. |
1196 | */ |
1197 | /*#define I_SYS_UN /**/ |
1198 | |
68dc0745 |
1199 | /* I_SYS_WAIT: |
1200 | * This symbol, if defined, indicates to the C program that it should |
1201 | * include <sys/wait.h>. |
1202 | */ |
1203 | /*#define I_SYS_WAIT /**/ |
1204 | |
0a753a76 |
1205 | /* I_TERMIO: |
1206 | * This symbol, if defined, indicates that the program should include |
1207 | * <termio.h> rather than <sgtty.h>. There are also differences in |
1208 | * the ioctl() calls that depend on the value of this symbol. |
1209 | */ |
1210 | /* I_TERMIOS: |
1211 | * This symbol, if defined, indicates that the program should include |
1212 | * the POSIX termios.h rather than sgtty.h or termio.h. |
1213 | * There are also differences in the ioctl() calls that depend on the |
1214 | * value of this symbol. |
1215 | */ |
1216 | /* I_SGTTY: |
1217 | * This symbol, if defined, indicates that the program should include |
1218 | * <sgtty.h> rather than <termio.h>. There are also differences in |
1219 | * the ioctl() calls that depend on the value of this symbol. |
1220 | */ |
1221 | /*#define I_TERMIO /**/ |
1222 | /*#define I_TERMIOS /**/ |
1223 | /*#define I_SGTTY /**/ |
1224 | |
1225 | /* I_TIME: |
1226 | * This symbol, if defined, indicates to the C program that it should |
1227 | * include <time.h>. |
1228 | */ |
1229 | /* I_SYS_TIME: |
1230 | * This symbol, if defined, indicates to the C program that it should |
1231 | * include <sys/time.h>. |
1232 | */ |
1233 | /* I_SYS_TIME_KERNEL: |
1234 | * This symbol, if defined, indicates to the C program that it should |
1235 | * include <sys/time.h> with KERNEL defined. |
1236 | */ |
1237 | #define I_TIME /**/ |
1238 | /*#define I_SYS_TIME /**/ |
1239 | /*#define I_SYS_TIME_KERNEL /**/ |
1240 | |
1241 | /* I_UNISTD: |
1242 | * This symbol, if defined, indicates to the C program that it should |
1243 | * include <unistd.h>. |
1244 | */ |
1245 | /*#define I_UNISTD /**/ |
1246 | |
1247 | /* I_UTIME: |
1248 | * This symbol, if defined, indicates to the C program that it should |
1249 | * include <utime.h>. |
1250 | */ |
3fe9a6f1 |
1251 | #define I_UTIME /**/ |
0a753a76 |
1252 | |
68dc0745 |
1253 | /* I_STDARG: |
1254 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
1255 | * be included. |
1256 | */ |
1257 | /* I_VARARGS: |
1258 | * This symbol, if defined, indicates to the C program that it should |
1259 | * include <varargs.h>. |
1260 | */ |
1261 | #define I_STDARG /**/ |
1262 | /*#define I_VARARGS /**/ |
1263 | |
0a753a76 |
1264 | /* I_VFORK: |
1265 | * This symbol, if defined, indicates to the C program that it should |
1266 | * include vfork.h. |
1267 | */ |
1268 | /*#define I_VFORK /**/ |
1269 | |
68dc0745 |
1270 | /* INTSIZE: |
1271 | * This symbol contains the value of sizeof(int) so that the C |
1272 | * preprocessor can make decisions based on it. |
1273 | */ |
1274 | /* LONGSIZE: |
1275 | * This symbol contains the value of sizeof(long) so that the C |
1276 | * preprocessor can make decisions based on it. |
1277 | */ |
1278 | /* SHORTSIZE: |
1279 | * This symbol contains the value of sizeof(short) so that the C |
1280 | * preprocessor can make decisions based on it. |
1281 | */ |
1282 | #define INTSIZE 4 /**/ |
1283 | #define LONGSIZE 4 /**/ |
1284 | #define SHORTSIZE 2 /**/ |
1285 | |
0a753a76 |
1286 | /* Off_t: |
1287 | * This symbol holds the type used to declare offsets in the kernel. |
1288 | * It can be int, long, off_t, etc... It may be necessary to include |
1289 | * <sys/types.h> to get any typedef'ed information. |
1290 | */ |
1291 | #define Off_t off_t /* <offset> type */ |
1292 | |
1293 | /* Mode_t: |
1294 | * This symbol holds the type used to declare file modes |
1295 | * for systems calls. It is usually mode_t, but may be |
1296 | * int or unsigned short. It may be necessary to include <sys/types.h> |
1297 | * to get any typedef'ed information. |
1298 | */ |
1299 | #define Mode_t mode_t /* file mode parameter for system calls */ |
1300 | |
68dc0745 |
1301 | /* VAL_O_NONBLOCK: |
1302 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1303 | * non-blocking I/O for the file descriptor. Note that there is no way |
1304 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1305 | * alternatively switch between blocking and non-blocking, use the |
1306 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
1307 | */ |
1308 | /* VAL_EAGAIN: |
1309 | * This symbol holds the errno error code set by read() when no data was |
1310 | * present on the non-blocking file descriptor. |
1311 | */ |
1312 | /* RD_NODATA: |
1313 | * This symbol holds the return code from read() when no data is present |
1314 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1315 | * not defined, then you can't distinguish between no data and EOF by |
1316 | * issuing a read(). You'll have to find another way to tell for sure! |
1317 | */ |
1318 | /* EOF_NONBLOCK: |
1319 | * This symbol, if defined, indicates to the C program that a read() on |
1320 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1321 | * held in RD_NODATA (-1 usually, in that case!). |
1322 | */ |
1323 | #define VAL_O_NONBLOCK O_NONBLOCK |
1324 | #define VAL_EAGAIN EAGAIN |
1325 | #define RD_NODATA -1 |
1326 | #define EOF_NONBLOCK |
1327 | |
0a753a76 |
1328 | /* CAN_PROTOTYPE: |
1329 | * If defined, this macro indicates that the C compiler can handle |
1330 | * function prototypes. |
1331 | */ |
1332 | /* _: |
1333 | * This macro is used to declare function parameters for folks who want |
1334 | * to make declarations with prototypes using a different style than |
1335 | * the above macros. Use double parentheses. For example: |
1336 | * |
1337 | * int main _((int argc, char *argv[])); |
1338 | */ |
1339 | #define CAN_PROTOTYPE /**/ |
1340 | #ifdef CAN_PROTOTYPE |
1341 | #define _(args) args |
1342 | #else |
1343 | #define _(args) () |
1344 | #endif |
1345 | |
1346 | /* RANDBITS: |
1347 | * This symbol contains the number of bits of random number the rand() |
1348 | * function produces. Usual values are 15, 16, and 31. |
1349 | */ |
1350 | #define RANDBITS 15 /**/ |
0a753a76 |
1351 | |
1352 | /* Select_fd_set_t: |
1353 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
1354 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
1355 | * is defined, and 'int *' otherwise. This is only useful if you |
1356 | * have select(), of course. |
1357 | */ |
0a753a76 |
1358 | #define Select_fd_set_t int * /**/ |
1359 | |
1360 | /* Size_t: |
1361 | * This symbol holds the type used to declare length parameters |
1362 | * for string functions. It is usually size_t, but may be |
1363 | * unsigned long, int, etc. It may be necessary to include |
1364 | * <sys/types.h> to get any typedef'ed information. |
1365 | */ |
1366 | #define Size_t size_t /* length paramater for string functions */ |
1367 | |
1368 | /* SSize_t: |
1369 | * This symbol holds the type used by functions that return |
1370 | * a count of bytes or an error condition. It must be a signed type. |
1371 | * It is usually ssize_t, but may be long or int, etc. |
1372 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1373 | * to get any typedef'ed information. |
1374 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
1375 | */ |
1376 | #define SSize_t int /* signed count of bytes */ |
1377 | |
1378 | /* STDCHAR: |
1379 | * This symbol is defined to be the type of char used in stdio.h. |
1380 | * It has the values "unsigned char" or "char". |
1381 | */ |
1382 | #define STDCHAR unsigned char /**/ |
1383 | |
1384 | /* Uid_t: |
1385 | * This symbol holds the type used to declare user ids in the kernel. |
1386 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
1387 | * <sys/types.h> to get any typedef'ed information. |
1388 | */ |
1389 | #define Uid_t uid_t /* UID type */ |
1390 | |
0a753a76 |
1391 | /* LOC_SED: |
1392 | * This symbol holds the complete pathname to the sed program. |
1393 | */ |
68dc0745 |
1394 | #define LOC_SED "" /**/ |
1395 | |
1396 | /* OSNAME: |
1397 | * This symbol contains the name of the operating system, as determined |
1398 | * by Configure. You shouldn't rely on it too much; the specific |
1399 | * feature tests from Configure are generally more reliable. |
1400 | */ |
1401 | #define OSNAME "MSWin32" /**/ |
0a753a76 |
1402 | |
68dc0745 |
1403 | /* ARCHLIB: |
1404 | * This variable, if defined, holds the name of the directory in |
1405 | * which the user wants to put architecture-dependent public |
1406 | * library files for perl5. It is most often a local directory |
1407 | * such as /usr/local/lib. Programs using this variable must be |
1408 | * prepared to deal with filename expansion. If ARCHLIB is the |
1409 | * same as PRIVLIB, it is not defined, since presumably the |
1410 | * program already searches PRIVLIB. |
1411 | */ |
0a753a76 |
1412 | /* ARCHLIB_EXP: |
1413 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1414 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1415 | */ |
7bac28a0 |
1416 | #define ARCHLIB "c:\\perl\\lib" /**/ |
c90c0ff4 |
1417 | #define ARCHLIB_EXP (win32PerlLibPath()) /**/ |
0a753a76 |
1418 | |
68dc0745 |
1419 | /* BINCOMPAT3: |
1420 | * This symbol, if defined, indicates that Perl 5.004 should be |
1421 | * binary-compatible with Perl 5.003. |
0a753a76 |
1422 | */ |
68dc0745 |
1423 | /*#define BINCOMPAT3 /**/ |
0a753a76 |
1424 | |
1425 | /* BYTEORDER: |
68dc0745 |
1426 | * This symbol holds the hexadecimal constant defined in byteorder, |
0a753a76 |
1427 | * i.e. 0x1234 or 0x4321, etc... |
68dc0745 |
1428 | * On NeXT 4 (and greater), you can build "Fat" Multiple Architecture |
1429 | * Binaries (MAB) on either big endian or little endian machines. |
1430 | * The endian-ness is available at compile-time. This only matters |
1431 | * for perl, where the config.h can be generated and installed on |
1432 | * one system, and used by a different architecture to build an |
1433 | * extension. Older versions of NeXT that might not have |
1434 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1435 | * so the default case (for NeXT) is big endian to catch them. |
1436 | * This might matter for NeXT 3.0. |
1437 | */ |
1438 | #ifndef NeXT |
0a753a76 |
1439 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
68dc0745 |
1440 | #else /* NeXT */ |
1441 | #ifdef __LITTLE_ENDIAN__ |
1442 | #define BYTEORDER 0x1234 |
1443 | #else /* __BIG_ENDIAN__ */ |
1444 | #define BYTEORDER 0x4321 |
1445 | #endif /* ENDIAN CHECK */ |
1446 | #endif /* NeXT */ |
0a753a76 |
1447 | |
1448 | /* CSH: |
1449 | * This symbol, if defined, indicates that the C-shell exists. |
1450 | * If defined, contains the full pathname of csh. |
1451 | */ |
68dc0745 |
1452 | /*#define CSH "" /**/ |
0a753a76 |
1453 | |
1454 | /* DLSYM_NEEDS_UNDERSCORE: |
1455 | * This symbol, if defined, indicates that we need to prepend an |
1456 | * underscore to the symbol name before calling dlsym(). This only |
1457 | * makes sense if you *have* dlsym, which we will presume is the |
1458 | * case if you're using dl_dlopen.xs. |
1459 | */ |
68dc0745 |
1460 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
0a753a76 |
1461 | |
1462 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
1463 | * This symbol, if defined, indicates that the bug that prevents |
1464 | * setuid scripts from being secure is not present in this kernel. |
1465 | */ |
1466 | /* DOSUID: |
1467 | * This symbol, if defined, indicates that the C program should |
1468 | * check the script that it is executing for setuid/setgid bits, and |
1469 | * attempt to emulate setuid/setgid on systems that have disabled |
1470 | * setuid #! scripts because the kernel can't do it securely. |
1471 | * It is up to the package designer to make sure that this emulation |
1472 | * is done securely. Among other things, it should do an fstat on |
1473 | * the script it just opened to make sure it really is a setuid/setgid |
1474 | * script, it should make sure the arguments passed correspond exactly |
1475 | * to the argument on the #! line, and it should not trust any |
1476 | * subprocesses to which it must pass the filename rather than the |
1477 | * file descriptor of the script to be executed. |
1478 | */ |
68dc0745 |
1479 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
0a753a76 |
1480 | /*#define DOSUID /**/ |
1481 | |
1482 | /* Gconvert: |
1483 | * This preprocessor macro is defined to convert a floating point |
1484 | * number to a string without a trailing decimal point. This |
1485 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1486 | * efficient. If gconvert() is not available, but gcvt() drops the |
1487 | * trailing decimal point, then gcvt() is used. If all else fails, |
1488 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1489 | * macro are: value, number of digits, whether trailing zeros should |
1490 | * be retained, and the output buffer. |
1491 | * Possible values are: |
1492 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1493 | * d_Gconvert='gcvt((x),(n),(b))' |
1494 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1495 | * The last two assume trailing zeros should not be kept. |
1496 | */ |
0a753a76 |
1497 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
1498 | |
68dc0745 |
1499 | /* HAS_GETPGID: |
1500 | * This symbol, if defined, indicates to the C program that |
1501 | * the getpgid(pid) function is available to get the |
1502 | * process group id. |
1503 | */ |
1504 | /*#define HAS_GETPGID /**/ |
1505 | |
1506 | /* HAS_GETPGRP: |
1507 | * This symbol, if defined, indicates that the getpgrp routine is |
1508 | * available to get the current process group. |
1509 | */ |
1510 | /* USE_BSD_GETPGRP: |
1511 | * This symbol, if defined, indicates that getpgrp needs one |
1512 | * arguments whereas USG one needs none. |
1513 | */ |
1514 | /*#define HAS_GETPGRP /**/ |
1515 | /*#define USE_BSD_GETPGRP /**/ |
1516 | |
1517 | /* HAS_INET_ATON: |
1518 | * This symbol, if defined, indicates to the C program that the |
1519 | * inet_aton() function is available to parse IP address "dotted-quad" |
1520 | * strings. |
1521 | */ |
1522 | /*#define HAS_INET_ATON /**/ |
1523 | |
1524 | /* HAS_SETPGID: |
1525 | * This symbol, if defined, indicates to the C program that |
1526 | * the setpgid(pid, gpid) function is available to set the |
1527 | * process group id. |
1528 | */ |
1529 | /*#define HAS_SETPGID /**/ |
1530 | |
1531 | /* HAS_SETPGRP: |
1532 | * This symbol, if defined, indicates that the setpgrp routine is |
1533 | * available to set the current process group. |
1534 | */ |
1535 | /* USE_BSD_SETPGRP: |
1536 | * This symbol, if defined, indicates that setpgrp needs two |
1537 | * arguments whereas USG one needs none. See also HAS_SETPGID |
1538 | * for a POSIX interface. |
1539 | */ |
1540 | /* USE_BSDPGRP: |
1541 | * This symbol, if defined, indicates that the BSD notion of process |
1542 | * group is to be used. For instance, you have to say setpgrp(pid, pgrp) |
1543 | * instead of the USG setpgrp(). This should be obsolete since |
1544 | * there are systems which have BSD-ish setpgrp but USG-ish getpgrp. |
1545 | */ |
1546 | /*#define HAS_SETPGRP /**/ |
1547 | /*#define USE_BSD_SETPGRP /**/ |
1548 | /*#define USE_BSDPGRP /**/ |
1549 | |
1550 | /* USE_SFIO: |
1551 | * This symbol, if defined, indicates that sfio should |
1552 | * be used. |
1553 | */ |
1554 | /*#define USE_SFIO /**/ |
1555 | |
0a753a76 |
1556 | /* Sigjmp_buf: |
68dc0745 |
1557 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
0a753a76 |
1558 | */ |
1559 | /* Sigsetjmp: |
68dc0745 |
1560 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1561 | * traditional setjmp() if sigsetjmp isn't available. |
1562 | * See HAS_SIGSETJMP. |
0a753a76 |
1563 | */ |
1564 | /* Siglongjmp: |
68dc0745 |
1565 | * This macro is used in the same way as siglongjmp(), but will invoke |
1566 | * traditional longjmp() if siglongjmp isn't available. |
1567 | * See HAS_SIGSETJMP. |
0a753a76 |
1568 | */ |
68dc0745 |
1569 | /*#define HAS_SIGSETJMP /**/ |
0a753a76 |
1570 | #ifdef HAS_SIGSETJMP |
1571 | #define Sigjmp_buf sigjmp_buf |
68dc0745 |
1572 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1573 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
0a753a76 |
1574 | #else |
1575 | #define Sigjmp_buf jmp_buf |
68dc0745 |
1576 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1577 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
0a753a76 |
1578 | #endif |
1579 | |
1580 | /* USE_DYNAMIC_LOADING: |
1581 | * This symbol, if defined, indicates that dynamic loading of |
1582 | * some sort is available. |
1583 | */ |
1584 | #define USE_DYNAMIC_LOADING /**/ |
1585 | |
1586 | /* I_DBM: |
1587 | * This symbol, if defined, indicates that <dbm.h> exists and should |
1588 | * be included. |
1589 | */ |
1590 | /* I_RPCSVC_DBM: |
1591 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
1592 | * should be included. |
1593 | */ |
1594 | /*#define I_DBM /**/ |
1595 | #define I_RPCSVC_DBM /**/ |
1596 | |
1597 | /* I_LOCALE: |
1598 | * This symbol, if defined, indicates to the C program that it should |
1599 | * include <locale.h>. |
1600 | */ |
1601 | #define I_LOCALE /**/ |
1602 | |
68dc0745 |
1603 | /* I_SFIO: |
1604 | * This symbol, if defined, indicates to the C program that it should |
1605 | * include <sfio.h>. |
1606 | */ |
1607 | /*#define I_SFIO /**/ |
1608 | |
0a753a76 |
1609 | /* I_SYS_STAT: |
1610 | * This symbol, if defined, indicates to the C program that it should |
1611 | * include <sys/stat.h>. |
1612 | */ |
1613 | #define I_SYS_STAT /**/ |
1614 | |
68dc0745 |
1615 | /* I_VALUES: |
0a753a76 |
1616 | * This symbol, if defined, indicates to the C program that it should |
68dc0745 |
1617 | * include <values.h> to get definition of symbols like MINFLOAT or |
1618 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
1619 | * should use <limits.h> instead, if it is available. |
0a753a76 |
1620 | */ |
68dc0745 |
1621 | /*#define I_VALUES /**/ |
0a753a76 |
1622 | |
1623 | /* Free_t: |
1624 | * This variable contains the return type of free(). It is usually |
1625 | * void, but occasionally int. |
1626 | */ |
1627 | /* Malloc_t: |
1628 | * This symbol is the type of pointer returned by malloc and realloc. |
1629 | */ |
1630 | #define Malloc_t void * /**/ |
1631 | #define Free_t void /**/ |
1632 | |
1633 | /* MYMALLOC: |
1634 | * This symbol, if defined, indicates that we're using our own malloc. |
1635 | */ |
1636 | /*#define MYMALLOC /**/ |
1637 | |
68dc0745 |
1638 | /* OLDARCHLIB: |
1639 | * This variable, if defined, holds the name of the directory in |
1640 | * which the user has perl5.000 or perl5.001 architecture-dependent |
1641 | * public library files for perl5. For the most part, these |
1642 | * files will work with 5.002 (and later), but that is not |
1643 | * guaranteed. |
0a753a76 |
1644 | */ |
0a753a76 |
1645 | /* OLDARCHLIB_EXP: |
1646 | * This symbol contains the ~name expanded version of OLDARCHLIB, to be |
1647 | * used in programs that are not prepared to deal with ~ expansion at |
1648 | * run-time. |
1649 | */ |
68dc0745 |
1650 | /*#define OLDARCHLIB "" /**/ |
0a753a76 |
1651 | /*#define OLDARCHLIB_EXP "" /**/ |
1652 | |
68dc0745 |
1653 | /* PRIVLIB: |
1654 | * This symbol contains the name of the private library for this package. |
1655 | * The library is private in the sense that it needn't be in anyone's |
1656 | * execution path, but it should be accessible by the world. The program |
1657 | * should be prepared to do ~ expansion. |
1658 | */ |
0a753a76 |
1659 | /* PRIVLIB_EXP: |
1660 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
1661 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1662 | */ |
7bac28a0 |
1663 | #define PRIVLIB "c:\\perl\\lib" /**/ |
1664 | #define PRIVLIB_EXP "c:\\perl\\lib" /**/ |
0a753a76 |
1665 | |
1666 | /* SH_PATH: |
1667 | * This symbol contains the full pathname to the shell used on this |
1668 | * on this system to execute Bourne shell scripts. Usually, this will be |
1669 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
68dc0745 |
1670 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
1671 | * D:/bin/sh.exe. |
0a753a76 |
1672 | */ |
7bac28a0 |
1673 | #define SH_PATH "cmd /x /c" /**/ |
0a753a76 |
1674 | |
1675 | /* SIG_NAME: |
1676 | * This symbol contains a list of signal names in order of |
1677 | * signal number. This is intended |
1678 | * to be used as a static array initialization, like this: |
1679 | * char *sig_name[] = { SIG_NAME }; |
1680 | * The signals in the list are separated with commas, and each signal |
1681 | * is surrounded by double quotes. There is no leading SIG in the signal |
1682 | * name, i.e. SIGQUIT is known as "QUIT". |
1683 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
1684 | * etc., where nn is the actual signal number (e.g. NUM37). |
1685 | * The signal number for sig_name[i] is stored in sig_num[i]. |
1686 | * The last element is 0 to terminate the list with a NULL. This |
1687 | * corresponds to the 0 at the end of the sig_num list. |
1688 | */ |
1689 | /* SIG_NUM: |
1690 | * This symbol contains a list of signal numbers, in the same order as the |
1691 | * SIG_NAME list. It is suitable for static array initialization, as in: |
1692 | * int sig_num[] = { SIG_NUM }; |
1693 | * The signals in the list are separated with commas, and the indices |
1694 | * within that list and the SIG_NAME list match, so it's easy to compute |
1695 | * the signal name from a number or vice versa at the price of a small |
1696 | * dynamic linear lookup. |
1697 | * Duplicates are allowed, but are moved to the end of the list. |
1698 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
1699 | * if (i < NSIG) then sig_number[i] == i. |
1700 | * The last element is 0, corresponding to the 0 at the end of |
1701 | * the sig_name list. |
1702 | */ |
1703 | #define SIG_NAME "ZERO","HUP","INT","QUIT","ILL","TRAP","ABRT","EMT","FPE","KILL","BUS","SEGV","SYS","PIPE","ALRM","TERM","USR1","USR2","CHLD","PWR","WINCH","URG","IO","STOP","TSTP","CONT","TTIN","TTOU","VTALRM","PROF","XCPU","XFSZ","WAITING","LWP","FREEZE","THAW","RTMIN","NUM37","NUM38","NUM39","NUM40","NUM41","NUM42","RTMAX","IOT","CLD","POLL",0 /**/ |
1704 | #define SIG_NUM 0,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,6,18,22,0 /**/ |
1705 | |
68dc0745 |
1706 | /* SITEARCH: |
1707 | * This symbol contains the name of the private library for this package. |
1708 | * The library is private in the sense that it needn't be in anyone's |
1709 | * execution path, but it should be accessible by the world. The program |
1710 | * should be prepared to do ~ expansion. |
1711 | * The standard distribution will put nothing in this directory. |
1712 | * Individual sites may place their own extensions and modules in |
1713 | * this directory. |
1714 | */ |
0a753a76 |
1715 | /* SITEARCH_EXP: |
1716 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
1717 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1718 | */ |
7bac28a0 |
1719 | #define SITEARCH "c:\\perl\\lib\\site" /**/ |
1720 | #define SITEARCH_EXP "c:\\perl\\lib\\site" /**/ |
0a753a76 |
1721 | |
68dc0745 |
1722 | /* SITELIB: |
1723 | * This symbol contains the name of the private library for this package. |
1724 | * The library is private in the sense that it needn't be in anyone's |
1725 | * execution path, but it should be accessible by the world. The program |
1726 | * should be prepared to do ~ expansion. |
1727 | * The standard distribution will put nothing in this directory. |
1728 | * Individual sites may place their own extensions and modules in |
1729 | * this directory. |
1730 | */ |
0a753a76 |
1731 | /* SITELIB_EXP: |
1732 | * This symbol contains the ~name expanded version of SITELIB, to be used |
1733 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1734 | */ |
7bac28a0 |
1735 | #define SITELIB "c:\\perl\\lib\\site" /**/ |
1736 | #define SITELIB_EXP "c:\\perl\\lib\\site" /**/ |
0a753a76 |
1737 | |
1738 | /* STARTPERL: |
1739 | * This variable contains the string to put in front of a perl |
1740 | * script to make sure (one hopes) that it runs with perl and not |
1741 | * some shell. |
1742 | */ |
68dc0745 |
1743 | #define STARTPERL "#perl" /**/ |
1744 | |
1745 | /* USE_PERLIO: |
1746 | * This symbol, if defined, indicates that the PerlIO abstraction should |
1747 | * be used throughout. If not defined, stdio should be |
1748 | * used in a fully backward compatible manner. |
1749 | */ |
1750 | /*#define USE_PERLIO /**/ |
0a753a76 |
1751 | |
1752 | /* VOIDFLAGS: |
1753 | * This symbol indicates how much support of the void type is given by this |
1754 | * compiler. What various bits mean: |
1755 | * |
1756 | * 1 = supports declaration of void |
1757 | * 2 = supports arrays of pointers to functions returning void |
1758 | * 4 = supports comparisons between pointers to void functions and |
1759 | * addresses of void functions |
1760 | * 8 = suports declaration of generic void pointers |
1761 | * |
1762 | * The package designer should define VOIDUSED to indicate the requirements |
1763 | * of the package. This can be done either by #defining VOIDUSED before |
1764 | * including config.h, or by defining defvoidused in Myinit.U. If the |
1765 | * latter approach is taken, only those flags will be tested. If the |
1766 | * level of void support necessary is not present, defines void to int. |
1767 | */ |
1768 | #ifndef VOIDUSED |
1769 | #define VOIDUSED 15 |
1770 | #endif |
1771 | #define VOIDFLAGS 15 |
1772 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
1773 | #define void int /* is void to be avoided? */ |
1774 | #define M_VOID /* Xenix strikes again */ |
1775 | #endif |
1776 | |
137443ea |
1777 | #endif |
0a753a76 |
1778 | #include <win32.h> |
c90c0ff4 |
1779 | #ifndef DEBUGGING |
0a753a76 |
1780 | #define DEBUGGING |
c90c0ff4 |
1781 | #endif |