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