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 | * |
924b3ec4 |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
08aa1457 |
11 | */ |
12 | |
924b3ec4 |
13 | /* |
14 | * Package name : perl5 |
07ba5892 |
15 | * Source directory : |
91027b9e |
16 | * Configuration time: Tue Mar 21 01:26:24 2000 |
924b3ec4 |
17 | * Configured by : gsar |
18 | * Target system : |
08aa1457 |
19 | */ |
20 | |
21 | #ifndef _config_h_ |
22 | #define _config_h_ |
23 | |
924b3ec4 |
24 | /* LOC_SED: |
25 | * This symbol holds the complete pathname to the sed program. |
08aa1457 |
26 | */ |
924b3ec4 |
27 | #define LOC_SED "" /**/ |
08aa1457 |
28 | |
08aa1457 |
29 | /* HAS_ALARM: |
30 | * This symbol, if defined, indicates that the alarm routine is |
31 | * available. |
32 | */ |
33 | /*#define HAS_ALARM /**/ |
34 | |
35 | /* HASATTRIBUTE: |
36 | * This symbol indicates the C compiler can check for function attributes, |
37 | * such as printf formats. This is normally only supported by GNU cc. |
38 | */ |
39 | /*#define HASATTRIBUTE /**/ |
40 | #ifndef HASATTRIBUTE |
41 | #define __attribute__(_arg_) |
42 | #endif |
43 | |
44 | /* HAS_BCMP: |
45 | * This symbol is defined if the bcmp() routine is available to |
46 | * compare blocks of memory. |
47 | */ |
48 | /*#define HAS_BCMP /**/ |
49 | |
50 | /* HAS_BCOPY: |
51 | * This symbol is defined if the bcopy() routine is available to |
52 | * copy blocks of memory. |
53 | */ |
54 | /*#define HAS_BCOPY /**/ |
55 | |
56 | /* HAS_BZERO: |
57 | * This symbol is defined if the bzero() routine is available to |
58 | * set a memory block to 0. |
59 | */ |
60 | /*#define HAS_BZERO /**/ |
61 | |
08aa1457 |
62 | /* HAS_CHOWN: |
63 | * This symbol, if defined, indicates that the chown routine is |
64 | * available. |
65 | */ |
66 | /*#define HAS_CHOWN /**/ |
67 | |
68 | /* HAS_CHROOT: |
69 | * This symbol, if defined, indicates that the chroot routine is |
70 | * available. |
71 | */ |
72 | /*#define HAS_CHROOT /**/ |
73 | |
74 | /* HAS_CHSIZE: |
75 | * This symbol, if defined, indicates that the chsize routine is available |
76 | * to truncate files. You might need a -lx to get this routine. |
77 | */ |
78 | #define HAS_CHSIZE /**/ |
79 | |
08aa1457 |
80 | /* HASCONST: |
81 | * This symbol, if defined, indicates that this C compiler knows about |
82 | * the const type. There is no need to actually test for that symbol |
83 | * within your programs. The mere use of the "const" keyword will |
84 | * trigger the necessary tests. |
85 | */ |
86 | #define HASCONST /**/ |
87 | #ifndef HASCONST |
88 | #define const |
89 | #endif |
90 | |
91 | /* HAS_CRYPT: |
92 | * This symbol, if defined, indicates that the crypt routine is available |
93 | * to encrypt passwords and the like. |
94 | */ |
95 | /*#define HAS_CRYPT /**/ |
96 | |
97 | /* HAS_CUSERID: |
98 | * This symbol, if defined, indicates that the cuserid routine is |
99 | * available to get character login names. |
100 | */ |
101 | /*#define HAS_CUSERID /**/ |
102 | |
103 | /* HAS_DBL_DIG: |
104 | * This symbol, if defined, indicates that this system's <float.h> |
105 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
106 | * of significant digits in a double precision number. If this |
107 | * symbol is not defined, a guess of 15 is usually pretty good. |
108 | */ |
109 | #define HAS_DBL_DIG /**/ |
110 | |
111 | /* HAS_DIFFTIME: |
112 | * This symbol, if defined, indicates that the difftime routine is |
113 | * available. |
114 | */ |
115 | #define HAS_DIFFTIME /**/ |
116 | |
117 | /* HAS_DLERROR: |
118 | * This symbol, if defined, indicates that the dlerror routine is |
119 | * available to return a string describing the last error that |
120 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
121 | */ |
122 | #define HAS_DLERROR /**/ |
123 | |
924b3ec4 |
124 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
125 | * This symbol, if defined, indicates that the bug that prevents |
126 | * setuid scripts from being secure is not present in this kernel. |
127 | */ |
128 | /* DOSUID: |
129 | * This symbol, if defined, indicates that the C program should |
130 | * check the script that it is executing for setuid/setgid bits, and |
131 | * attempt to emulate setuid/setgid on systems that have disabled |
132 | * setuid #! scripts because the kernel can't do it securely. |
133 | * It is up to the package designer to make sure that this emulation |
134 | * is done securely. Among other things, it should do an fstat on |
135 | * the script it just opened to make sure it really is a setuid/setgid |
136 | * script, it should make sure the arguments passed correspond exactly |
137 | * to the argument on the #! line, and it should not trust any |
138 | * subprocesses to which it must pass the filename rather than the |
139 | * file descriptor of the script to be executed. |
140 | */ |
141 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
142 | /*#define DOSUID /**/ |
143 | |
08aa1457 |
144 | /* HAS_DUP2: |
145 | * This symbol, if defined, indicates that the dup2 routine is |
146 | * available to duplicate file descriptors. |
147 | */ |
148 | #define HAS_DUP2 /**/ |
149 | |
150 | /* HAS_FCHMOD: |
151 | * This symbol, if defined, indicates that the fchmod routine is available |
152 | * to change mode of opened files. If unavailable, use chmod(). |
153 | */ |
154 | /*#define HAS_FCHMOD /**/ |
155 | |
156 | /* HAS_FCHOWN: |
157 | * This symbol, if defined, indicates that the fchown routine is available |
158 | * to change ownership of opened files. If unavailable, use chown(). |
159 | */ |
160 | /*#define HAS_FCHOWN /**/ |
161 | |
162 | /* HAS_FCNTL: |
163 | * This symbol, if defined, indicates to the C program that |
164 | * the fcntl() function exists. |
165 | */ |
166 | /*#define HAS_FCNTL /**/ |
167 | |
168 | /* HAS_FGETPOS: |
169 | * This symbol, if defined, indicates that the fgetpos routine is |
170 | * available to get the file position indicator, similar to ftell(). |
171 | */ |
172 | #define HAS_FGETPOS /**/ |
173 | |
08aa1457 |
174 | /* HAS_FLOCK: |
175 | * This symbol, if defined, indicates that the flock routine is |
176 | * available to do file locking. |
177 | */ |
178 | #define HAS_FLOCK /**/ |
179 | |
180 | /* HAS_FORK: |
181 | * This symbol, if defined, indicates that the fork routine is |
182 | * available. |
183 | */ |
184 | /*#define HAS_FORK /**/ |
185 | |
a3540c92 |
186 | /* HAS_FREXPL: |
187 | * This symbol, if defined, indicates that the frexpl routine is |
188 | * available to break a long double floating-point number into |
189 | * a normalized fraction and an integral power of 2. |
190 | */ |
191 | /*#define HAS_FREXPL /**/ |
192 | |
08aa1457 |
193 | /* HAS_FSETPOS: |
194 | * This symbol, if defined, indicates that the fsetpos routine is |
195 | * available to set the file position indicator, similar to fseek(). |
196 | */ |
197 | #define HAS_FSETPOS /**/ |
198 | |
199 | /* HAS_GETTIMEOFDAY: |
200 | * This symbol, if defined, indicates that the gettimeofday() system |
201 | * call is available for a sub-second accuracy clock. Usually, the file |
202 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
203 | * The type "Timeval" should be used to refer to "struct timeval". |
204 | */ |
205 | /*#define HAS_GETTIMEOFDAY /**/ |
206 | #ifdef HAS_GETTIMEOFDAY |
207 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
208 | #endif |
209 | |
210 | /* HAS_GETGROUPS: |
211 | * This symbol, if defined, indicates that the getgroups() routine is |
212 | * available to get the list of process groups. If unavailable, multiple |
213 | * groups are probably not supported. |
214 | */ |
08aa1457 |
215 | /*#define HAS_GETGROUPS /**/ |
08aa1457 |
216 | |
08aa1457 |
217 | /* HAS_GETLOGIN: |
218 | * This symbol, if defined, indicates that the getlogin routine is |
219 | * available to get the login name. |
220 | */ |
e34ffe5a |
221 | #define HAS_GETLOGIN /**/ |
08aa1457 |
222 | |
924b3ec4 |
223 | /* HAS_GETPGID: |
224 | * This symbol, if defined, indicates to the C program that |
225 | * the getpgid(pid) function is available to get the |
226 | * process group id. |
227 | */ |
228 | /*#define HAS_GETPGID /**/ |
229 | |
230 | /* HAS_GETPGRP: |
231 | * This symbol, if defined, indicates that the getpgrp routine is |
232 | * available to get the current process group. |
233 | */ |
234 | /* USE_BSD_GETPGRP: |
235 | * This symbol, if defined, indicates that getpgrp needs one |
236 | * arguments whereas USG one needs none. |
237 | */ |
238 | /*#define HAS_GETPGRP /**/ |
239 | /*#define USE_BSD_GETPGRP /**/ |
240 | |
08aa1457 |
241 | /* HAS_GETPGRP2: |
242 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
243 | * routine is available to get the current process group. |
244 | */ |
245 | /*#define HAS_GETPGRP2 /**/ |
246 | |
247 | /* HAS_GETPPID: |
248 | * This symbol, if defined, indicates that the getppid routine is |
249 | * available to get the parent process ID. |
250 | */ |
251 | /*#define HAS_GETPPID /**/ |
252 | |
253 | /* HAS_GETPRIORITY: |
254 | * This symbol, if defined, indicates that the getpriority routine is |
255 | * available to get a process's priority. |
256 | */ |
257 | /*#define HAS_GETPRIORITY /**/ |
258 | |
924b3ec4 |
259 | /* HAS_INET_ATON: |
260 | * This symbol, if defined, indicates to the C program that the |
261 | * inet_aton() function is available to parse IP address "dotted-quad" |
262 | * strings. |
08aa1457 |
263 | */ |
924b3ec4 |
264 | /*#define HAS_INET_ATON /**/ |
08aa1457 |
265 | |
266 | /* HAS_KILLPG: |
267 | * This symbol, if defined, indicates that the killpg routine is available |
268 | * to kill process groups. If unavailable, you probably should use kill |
269 | * with a negative process number. |
270 | */ |
271 | /*#define HAS_KILLPG /**/ |
272 | |
273 | /* HAS_LINK: |
274 | * This symbol, if defined, indicates that the link routine is |
275 | * available to create hard links. |
276 | */ |
6b980173 |
277 | #define HAS_LINK /**/ |
08aa1457 |
278 | |
279 | /* HAS_LOCALECONV: |
280 | * This symbol, if defined, indicates that the localeconv routine is |
281 | * available for numeric and monetary formatting conventions. |
282 | */ |
283 | #define HAS_LOCALECONV /**/ |
284 | |
285 | /* HAS_LOCKF: |
286 | * This symbol, if defined, indicates that the lockf routine is |
287 | * available to do file locking. |
288 | */ |
289 | /*#define HAS_LOCKF /**/ |
290 | |
291 | /* HAS_LSTAT: |
292 | * This symbol, if defined, indicates that the lstat routine is |
293 | * available to do file stats on symbolic links. |
294 | */ |
295 | /*#define HAS_LSTAT /**/ |
296 | |
297 | /* HAS_MBLEN: |
298 | * This symbol, if defined, indicates that the mblen routine is available |
299 | * to find the number of bytes in a multibye character. |
300 | */ |
301 | #define HAS_MBLEN /**/ |
302 | |
303 | /* HAS_MBSTOWCS: |
304 | * This symbol, if defined, indicates that the mbstowcs routine is |
305 | * available to covert a multibyte string into a wide character string. |
306 | */ |
307 | #define HAS_MBSTOWCS /**/ |
308 | |
309 | /* HAS_MBTOWC: |
310 | * This symbol, if defined, indicates that the mbtowc routine is available |
311 | * to covert a multibyte to a wide character. |
312 | */ |
313 | #define HAS_MBTOWC /**/ |
314 | |
315 | /* HAS_MEMCMP: |
316 | * This symbol, if defined, indicates that the memcmp routine is available |
317 | * to compare blocks of memory. |
318 | */ |
319 | #define HAS_MEMCMP /**/ |
320 | |
321 | /* HAS_MEMCPY: |
322 | * This symbol, if defined, indicates that the memcpy routine is available |
323 | * to copy blocks of memory. |
324 | */ |
325 | #define HAS_MEMCPY /**/ |
326 | |
327 | /* HAS_MEMMOVE: |
328 | * This symbol, if defined, indicates that the memmove routine is available |
329 | * to copy potentially overlapping blocks of memory. This should be used |
330 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
331 | * own version. |
332 | */ |
333 | #define HAS_MEMMOVE /**/ |
334 | |
335 | /* HAS_MEMSET: |
336 | * This symbol, if defined, indicates that the memset routine is available |
337 | * to set blocks of memory. |
338 | */ |
339 | #define HAS_MEMSET /**/ |
340 | |
341 | /* HAS_MKDIR: |
342 | * This symbol, if defined, indicates that the mkdir routine is available |
343 | * to create directories. Otherwise you should fork off a new process to |
344 | * exec /bin/mkdir. |
345 | */ |
346 | #define HAS_MKDIR /**/ |
347 | |
348 | /* HAS_MKFIFO: |
349 | * This symbol, if defined, indicates that the mkfifo routine is |
350 | * available to create FIFOs. Otherwise, mknod should be able to |
351 | * do it for you. However, if mkfifo is there, mknod might require |
352 | * super-user privileges which mkfifo will not. |
353 | */ |
354 | /*#define HAS_MKFIFO /**/ |
355 | |
356 | /* HAS_MKTIME: |
357 | * This symbol, if defined, indicates that the mktime routine is |
358 | * available. |
359 | */ |
360 | #define HAS_MKTIME /**/ |
361 | |
ac135a7c |
362 | /* HAS_MSYNC: |
363 | * This symbol, if defined, indicates that the msync system call is |
364 | * available to synchronize a mapped file. |
365 | */ |
366 | /*#define HAS_MSYNC /**/ |
367 | |
368 | /* HAS_MUNMAP: |
369 | * This symbol, if defined, indicates that the munmap system call is |
370 | * available to unmap a region, usually mapped by mmap(). |
371 | */ |
372 | /*#define HAS_MUNMAP /**/ |
373 | |
08aa1457 |
374 | /* HAS_NICE: |
375 | * This symbol, if defined, indicates that the nice routine is |
376 | * available. |
377 | */ |
378 | /*#define HAS_NICE /**/ |
379 | |
08aa1457 |
380 | /* HAS_PATHCONF: |
381 | * This symbol, if defined, indicates that pathconf() is available |
382 | * to determine file-system related limits and options associated |
383 | * with a given filename. |
384 | */ |
385 | /* HAS_FPATHCONF: |
386 | * This symbol, if defined, indicates that pathconf() is available |
387 | * to determine file-system related limits and options associated |
388 | * with a given open file descriptor. |
389 | */ |
390 | /*#define HAS_PATHCONF /**/ |
391 | /*#define HAS_FPATHCONF /**/ |
392 | |
393 | /* HAS_PAUSE: |
394 | * This symbol, if defined, indicates that the pause routine is |
395 | * available to suspend a process until a signal is received. |
396 | */ |
397 | #define HAS_PAUSE /**/ |
398 | |
399 | /* HAS_PIPE: |
400 | * This symbol, if defined, indicates that the pipe routine is |
401 | * available to create an inter-process channel. |
402 | */ |
403 | #define HAS_PIPE /**/ |
404 | |
405 | /* HAS_POLL: |
406 | * This symbol, if defined, indicates that the poll routine is |
924b3ec4 |
407 | * available to poll active file descriptors. You may safely |
408 | * include <poll.h> when this symbol is defined. |
08aa1457 |
409 | */ |
410 | /*#define HAS_POLL /**/ |
411 | |
412 | /* HAS_READDIR: |
413 | * This symbol, if defined, indicates that the readdir routine is |
414 | * available to read directory entries. You may have to include |
415 | * <dirent.h>. See I_DIRENT. |
416 | */ |
417 | #define HAS_READDIR /**/ |
418 | |
419 | /* HAS_SEEKDIR: |
420 | * This symbol, if defined, indicates that the seekdir routine is |
421 | * available. You may have to include <dirent.h>. See I_DIRENT. |
422 | */ |
423 | #define HAS_SEEKDIR /**/ |
424 | |
425 | /* HAS_TELLDIR: |
426 | * This symbol, if defined, indicates that the telldir routine is |
427 | * available. You may have to include <dirent.h>. See I_DIRENT. |
428 | */ |
429 | #define HAS_TELLDIR /**/ |
430 | |
431 | /* HAS_REWINDDIR: |
432 | * This symbol, if defined, indicates that the rewinddir routine is |
433 | * available. You may have to include <dirent.h>. See I_DIRENT. |
434 | */ |
435 | #define HAS_REWINDDIR /**/ |
436 | |
437 | /* HAS_READLINK: |
438 | * This symbol, if defined, indicates that the readlink routine is |
439 | * available to read the value of a symbolic link. |
440 | */ |
441 | /*#define HAS_READLINK /**/ |
442 | |
443 | /* HAS_RENAME: |
444 | * This symbol, if defined, indicates that the rename routine is available |
445 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
446 | * trick. |
447 | */ |
448 | #define HAS_RENAME /**/ |
449 | |
450 | /* HAS_RMDIR: |
451 | * This symbol, if defined, indicates that the rmdir routine is |
452 | * available to remove directories. Otherwise you should fork off a |
453 | * new process to exec /bin/rmdir. |
454 | */ |
455 | #define HAS_RMDIR /**/ |
456 | |
08aa1457 |
457 | /* HAS_SELECT: |
458 | * This symbol, if defined, indicates that the select routine is |
459 | * available to select active file descriptors. If the timeout field |
460 | * is used, <sys/time.h> may need to be included. |
461 | */ |
462 | #define HAS_SELECT /**/ |
463 | |
08aa1457 |
464 | /* HAS_SETEGID: |
465 | * This symbol, if defined, indicates that the setegid routine is available |
466 | * to change the effective gid of the current program. |
467 | */ |
468 | /*#define HAS_SETEGID /**/ |
469 | |
470 | /* HAS_SETEUID: |
471 | * This symbol, if defined, indicates that the seteuid routine is available |
472 | * to change the effective uid of the current program. |
473 | */ |
474 | /*#define HAS_SETEUID /**/ |
475 | |
476 | /* HAS_SETLINEBUF: |
477 | * This symbol, if defined, indicates that the setlinebuf routine is |
478 | * available to change stderr or stdout from block-buffered or unbuffered |
479 | * to a line-buffered mode. |
480 | */ |
481 | /*#define HAS_SETLINEBUF /**/ |
482 | |
483 | /* HAS_SETLOCALE: |
484 | * This symbol, if defined, indicates that the setlocale routine is |
485 | * available to handle locale-specific ctype implementations. |
486 | */ |
487 | #define HAS_SETLOCALE /**/ |
488 | |
924b3ec4 |
489 | /* HAS_SETPGID: |
490 | * This symbol, if defined, indicates that the setpgid(pid, gpid) |
491 | * routine is available to set process group ID. |
492 | */ |
493 | /*#define HAS_SETPGID /**/ |
494 | |
495 | /* HAS_SETPGRP: |
496 | * This symbol, if defined, indicates that the setpgrp routine is |
497 | * available to set the current process group. |
498 | */ |
499 | /* USE_BSD_SETPGRP: |
500 | * This symbol, if defined, indicates that setpgrp needs two |
501 | * arguments whereas USG one needs none. See also HAS_SETPGID |
502 | * for a POSIX interface. |
503 | */ |
504 | /*#define HAS_SETPGRP /**/ |
505 | /*#define USE_BSD_SETPGRP /**/ |
506 | |
08aa1457 |
507 | /* HAS_SETPGRP2: |
508 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
509 | * routine is available to set the current process group. |
510 | */ |
511 | /*#define HAS_SETPGRP2 /**/ |
512 | |
513 | /* HAS_SETPRIORITY: |
514 | * This symbol, if defined, indicates that the setpriority routine is |
515 | * available to set a process's priority. |
516 | */ |
517 | /*#define HAS_SETPRIORITY /**/ |
518 | |
519 | /* HAS_SETREGID: |
520 | * This symbol, if defined, indicates that the setregid routine is |
521 | * available to change the real and effective gid of the current |
522 | * process. |
523 | */ |
524 | /* HAS_SETRESGID: |
525 | * This symbol, if defined, indicates that the setresgid routine is |
526 | * available to change the real, effective and saved gid of the current |
527 | * process. |
528 | */ |
529 | /*#define HAS_SETREGID /**/ |
530 | /*#define HAS_SETRESGID /**/ |
531 | |
532 | /* HAS_SETREUID: |
533 | * This symbol, if defined, indicates that the setreuid routine is |
534 | * available to change the real and effective uid of the current |
535 | * process. |
536 | */ |
537 | /* HAS_SETRESUID: |
538 | * This symbol, if defined, indicates that the setresuid routine is |
539 | * available to change the real, effective and saved uid of the current |
540 | * process. |
541 | */ |
542 | /*#define HAS_SETREUID /**/ |
543 | /*#define HAS_SETRESUID /**/ |
544 | |
545 | /* HAS_SETRGID: |
546 | * This symbol, if defined, indicates that the setrgid routine is available |
547 | * to change the real gid of the current program. |
548 | */ |
549 | /*#define HAS_SETRGID /**/ |
550 | |
551 | /* HAS_SETRUID: |
552 | * This symbol, if defined, indicates that the setruid routine is available |
553 | * to change the real uid of the current program. |
554 | */ |
555 | /*#define HAS_SETRUID /**/ |
556 | |
557 | /* HAS_SETSID: |
558 | * This symbol, if defined, indicates that the setsid routine is |
559 | * available to set the process group ID. |
560 | */ |
561 | /*#define HAS_SETSID /**/ |
562 | |
08aa1457 |
563 | /* Shmat_t: |
564 | * This symbol holds the return type of the shmat() system call. |
565 | * Usually set to 'void *' or 'char *'. |
566 | */ |
567 | /* HAS_SHMAT_PROTOTYPE: |
568 | * This symbol, if defined, indicates that the sys/shm.h includes |
569 | * a prototype for shmat(). Otherwise, it is up to the program to |
82839a9d |
570 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
08aa1457 |
571 | * but not always right so it should be emitted by the program only |
572 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
573 | */ |
574 | #define Shmat_t void * /**/ |
575 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
576 | |
924b3ec4 |
577 | /* HAS_STRCHR: |
578 | * This symbol is defined to indicate that the strchr()/strrchr() |
579 | * functions are available for string searching. If not, try the |
580 | * index()/rindex() pair. |
08aa1457 |
581 | */ |
924b3ec4 |
582 | /* HAS_INDEX: |
583 | * This symbol is defined to indicate that the index()/rindex() |
584 | * functions are available for string searching. |
08aa1457 |
585 | */ |
924b3ec4 |
586 | #define HAS_STRCHR /**/ |
587 | /*#define HAS_INDEX /**/ |
588 | |
589 | /* HAS_STRCOLL: |
590 | * This symbol, if defined, indicates that the strcoll routine is |
591 | * available to compare strings using collating information. |
08aa1457 |
592 | */ |
924b3ec4 |
593 | #define HAS_STRCOLL /**/ |
594 | |
595 | /* USE_STRUCT_COPY: |
596 | * This symbol, if defined, indicates that this C compiler knows how |
597 | * to copy structures. If undefined, you'll need to use a block copy |
598 | * routine of some sort instead. |
08aa1457 |
599 | */ |
924b3ec4 |
600 | #define USE_STRUCT_COPY /**/ |
08aa1457 |
601 | |
08aa1457 |
602 | /* HAS_STRTOD: |
603 | * This symbol, if defined, indicates that the strtod routine is |
604 | * available to provide better numeric string conversion than atof(). |
605 | */ |
606 | #define HAS_STRTOD /**/ |
607 | |
608 | /* HAS_STRTOL: |
609 | * This symbol, if defined, indicates that the strtol routine is available |
610 | * to provide better numeric string conversion than atoi() and friends. |
611 | */ |
612 | #define HAS_STRTOL /**/ |
613 | |
614 | /* HAS_STRTOUL: |
615 | * This symbol, if defined, indicates that the strtoul routine is |
616 | * available to provide conversion of strings to unsigned long. |
617 | */ |
618 | #define HAS_STRTOUL /**/ |
619 | |
620 | /* HAS_STRXFRM: |
621 | * This symbol, if defined, indicates that the strxfrm() routine is |
622 | * available to transform strings. |
623 | */ |
624 | #define HAS_STRXFRM /**/ |
625 | |
626 | /* HAS_SYMLINK: |
627 | * This symbol, if defined, indicates that the symlink routine is available |
628 | * to create symbolic links. |
629 | */ |
630 | /*#define HAS_SYMLINK /**/ |
631 | |
632 | /* HAS_SYSCALL: |
633 | * This symbol, if defined, indicates that the syscall routine is |
634 | * available to call arbitrary system calls. If undefined, that's tough. |
635 | */ |
636 | /*#define HAS_SYSCALL /**/ |
637 | |
638 | /* HAS_SYSCONF: |
639 | * This symbol, if defined, indicates that sysconf() is available |
640 | * to determine system related limits and options. |
641 | */ |
642 | /*#define HAS_SYSCONF /**/ |
643 | |
644 | /* HAS_SYSTEM: |
645 | * This symbol, if defined, indicates that the system routine is |
646 | * available to issue a shell command. |
647 | */ |
648 | #define HAS_SYSTEM /**/ |
649 | |
650 | /* HAS_TCGETPGRP: |
651 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
652 | * available to get foreground process group ID. |
653 | */ |
654 | /*#define HAS_TCGETPGRP /**/ |
655 | |
656 | /* HAS_TCSETPGRP: |
657 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
658 | * available to set foreground process group ID. |
659 | */ |
660 | /*#define HAS_TCSETPGRP /**/ |
661 | |
08aa1457 |
662 | /* HAS_TRUNCATE: |
663 | * This symbol, if defined, indicates that the truncate routine is |
664 | * available to truncate files. |
665 | */ |
666 | /*#define HAS_TRUNCATE /**/ |
667 | |
668 | /* HAS_TZNAME: |
669 | * This symbol, if defined, indicates that the tzname[] array is |
670 | * available to access timezone names. |
671 | */ |
672 | #define HAS_TZNAME /**/ |
673 | |
674 | /* HAS_UMASK: |
675 | * This symbol, if defined, indicates that the umask routine is |
676 | * available to set and get the value of the file creation mask. |
677 | */ |
678 | #define HAS_UMASK /**/ |
679 | |
08aa1457 |
680 | /* HASVOLATILE: |
681 | * This symbol, if defined, indicates that this C compiler knows about |
682 | * the volatile declaration. |
683 | */ |
684 | #define HASVOLATILE /**/ |
685 | #ifndef HASVOLATILE |
686 | #define volatile |
687 | #endif |
688 | |
08aa1457 |
689 | /* HAS_WAIT4: |
690 | * This symbol, if defined, indicates that wait4() exists. |
691 | */ |
692 | /*#define HAS_WAIT4 /**/ |
693 | |
694 | /* HAS_WAITPID: |
695 | * This symbol, if defined, indicates that the waitpid routine is |
696 | * available to wait for child process. |
697 | */ |
f55ee38a |
698 | #define HAS_WAITPID /**/ |
08aa1457 |
699 | |
700 | /* HAS_WCSTOMBS: |
701 | * This symbol, if defined, indicates that the wcstombs routine is |
702 | * available to convert wide character strings to multibyte strings. |
703 | */ |
704 | #define HAS_WCSTOMBS /**/ |
705 | |
706 | /* HAS_WCTOMB: |
707 | * This symbol, if defined, indicates that the wctomb routine is available |
708 | * to covert a wide character to a multibyte. |
709 | */ |
710 | #define HAS_WCTOMB /**/ |
711 | |
9036c72f |
712 | /* I_ARPA_INET: |
327c3667 |
713 | * This symbol, if defined, indicates to the C program that it should |
714 | * include <arpa/inet.h> to get inet_addr and friends declarations. |
9036c72f |
715 | */ |
327c3667 |
716 | #define I_ARPA_INET /**/ |
9036c72f |
717 | |
924b3ec4 |
718 | /* I_DBM: |
719 | * This symbol, if defined, indicates that <dbm.h> exists and should |
720 | * be included. |
08aa1457 |
721 | */ |
924b3ec4 |
722 | /* I_RPCSVC_DBM: |
723 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
724 | * should be included. |
08aa1457 |
725 | */ |
924b3ec4 |
726 | /*#define I_DBM /**/ |
727 | #define I_RPCSVC_DBM /**/ |
08aa1457 |
728 | |
729 | /* I_DIRENT: |
730 | * This symbol, if defined, indicates to the C program that it should |
731 | * include <dirent.h>. Using this symbol also triggers the definition |
732 | * of the Direntry_t define which ends up being 'struct dirent' or |
733 | * 'struct direct' depending on the availability of <dirent.h>. |
734 | */ |
735 | /* DIRNAMLEN: |
736 | * This symbol, if defined, indicates to the C program that the length |
737 | * of directory entry names is provided by a d_namlen field. Otherwise |
738 | * you need to do strlen() on the d_name field. |
739 | */ |
740 | /* Direntry_t: |
741 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
742 | * whether dirent is available or not. You should use this pseudo type to |
743 | * portably declare your directory entries. |
744 | */ |
745 | #define I_DIRENT /**/ |
746 | #define DIRNAMLEN /**/ |
747 | #define Direntry_t struct direct |
748 | |
749 | /* I_DLFCN: |
750 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
751 | * be included. |
752 | */ |
753 | #define I_DLFCN /**/ |
754 | |
755 | /* I_FCNTL: |
756 | * This manifest constant tells the C program to include <fcntl.h>. |
757 | */ |
758 | #define I_FCNTL /**/ |
759 | |
760 | /* I_FLOAT: |
761 | * This symbol, if defined, indicates to the C program that it should |
762 | * include <float.h> to get definition of symbols like DBL_MAX or |
763 | * DBL_MIN, i.e. machine dependent floating point values. |
764 | */ |
765 | #define I_FLOAT /**/ |
766 | |
08aa1457 |
767 | /* I_LIMITS: |
768 | * This symbol, if defined, indicates to the C program that it should |
769 | * include <limits.h> to get definition of symbols like WORD_BIT or |
770 | * LONG_MAX, i.e. machine dependant limitations. |
771 | */ |
772 | #define I_LIMITS /**/ |
773 | |
924b3ec4 |
774 | /* I_LOCALE: |
775 | * This symbol, if defined, indicates to the C program that it should |
776 | * include <locale.h>. |
777 | */ |
778 | #define I_LOCALE /**/ |
779 | |
08aa1457 |
780 | /* I_MATH: |
781 | * This symbol, if defined, indicates to the C program that it should |
782 | * include <math.h>. |
783 | */ |
784 | #define I_MATH /**/ |
785 | |
786 | /* I_MEMORY: |
787 | * This symbol, if defined, indicates to the C program that it should |
788 | * include <memory.h>. |
789 | */ |
790 | /*#define I_MEMORY /**/ |
791 | |
792 | /* I_NDBM: |
793 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
794 | * be included. |
795 | */ |
796 | /*#define I_NDBM /**/ |
797 | |
798 | /* I_NET_ERRNO: |
799 | * This symbol, if defined, indicates that <net/errno.h> exists and |
800 | * should be included. |
801 | */ |
802 | /*#define I_NET_ERRNO /**/ |
803 | |
804 | /* I_NETINET_IN: |
805 | * This symbol, if defined, indicates to the C program that it should |
806 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
807 | */ |
808 | /*#define I_NETINET_IN /**/ |
809 | |
924b3ec4 |
810 | /* I_SFIO: |
811 | * This symbol, if defined, indicates to the C program that it should |
812 | * include <sfio.h>. |
813 | */ |
814 | /*#define I_SFIO /**/ |
815 | |
08aa1457 |
816 | /* I_STDDEF: |
817 | * This symbol, if defined, indicates that <stddef.h> exists and should |
818 | * be included. |
819 | */ |
820 | #define I_STDDEF /**/ |
821 | |
822 | /* I_STDLIB: |
823 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
824 | * be included. |
825 | */ |
826 | #define I_STDLIB /**/ |
827 | |
828 | /* I_STRING: |
829 | * This symbol, if defined, indicates to the C program that it should |
830 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
831 | */ |
832 | #define I_STRING /**/ |
833 | |
834 | /* I_SYS_DIR: |
835 | * This symbol, if defined, indicates to the C program that it should |
836 | * include <sys/dir.h>. |
837 | */ |
838 | /*#define I_SYS_DIR /**/ |
839 | |
840 | /* I_SYS_FILE: |
841 | * This symbol, if defined, indicates to the C program that it should |
842 | * include <sys/file.h> to get definition of R_OK and friends. |
843 | */ |
844 | /*#define I_SYS_FILE /**/ |
845 | |
846 | /* I_SYS_IOCTL: |
847 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
848 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
849 | */ |
850 | /*#define I_SYS_IOCTL /**/ |
851 | |
852 | /* I_SYS_NDIR: |
853 | * This symbol, if defined, indicates to the C program that it should |
854 | * include <sys/ndir.h>. |
855 | */ |
856 | /*#define I_SYS_NDIR /**/ |
857 | |
858 | /* I_SYS_PARAM: |
859 | * This symbol, if defined, indicates to the C program that it should |
860 | * include <sys/param.h>. |
861 | */ |
862 | /*#define I_SYS_PARAM /**/ |
863 | |
864 | /* I_SYS_RESOURCE: |
865 | * This symbol, if defined, indicates to the C program that it should |
866 | * include <sys/resource.h>. |
867 | */ |
868 | /*#define I_SYS_RESOURCE /**/ |
869 | |
870 | /* I_SYS_SELECT: |
871 | * This symbol, if defined, indicates to the C program that it should |
872 | * include <sys/select.h> in order to get definition of struct timeval. |
873 | */ |
874 | /*#define I_SYS_SELECT /**/ |
875 | |
924b3ec4 |
876 | /* I_SYS_STAT: |
877 | * This symbol, if defined, indicates to the C program that it should |
878 | * include <sys/stat.h>. |
879 | */ |
880 | #define I_SYS_STAT /**/ |
881 | |
08aa1457 |
882 | /* I_SYS_TIMES: |
883 | * This symbol, if defined, indicates to the C program that it should |
884 | * include <sys/times.h>. |
885 | */ |
886 | /*#define I_SYS_TIMES /**/ |
887 | |
be44fb0e |
888 | /* I_SYS_TYPES: |
889 | * This symbol, if defined, indicates to the C program that it should |
890 | * include <sys/types.h>. |
891 | */ |
892 | #define I_SYS_TYPES /**/ |
893 | |
08aa1457 |
894 | /* I_SYS_UN: |
895 | * This symbol, if defined, indicates to the C program that it should |
896 | * include <sys/un.h> to get UNIX domain socket definitions. |
897 | */ |
898 | /*#define I_SYS_UN /**/ |
899 | |
900 | /* I_SYS_WAIT: |
901 | * This symbol, if defined, indicates to the C program that it should |
902 | * include <sys/wait.h>. |
903 | */ |
904 | /*#define I_SYS_WAIT /**/ |
905 | |
906 | /* I_TERMIO: |
907 | * This symbol, if defined, indicates that the program should include |
908 | * <termio.h> rather than <sgtty.h>. There are also differences in |
909 | * the ioctl() calls that depend on the value of this symbol. |
910 | */ |
911 | /* I_TERMIOS: |
912 | * This symbol, if defined, indicates that the program should include |
913 | * the POSIX termios.h rather than sgtty.h or termio.h. |
914 | * There are also differences in the ioctl() calls that depend on the |
915 | * value of this symbol. |
916 | */ |
917 | /* I_SGTTY: |
918 | * This symbol, if defined, indicates that the program should include |
919 | * <sgtty.h> rather than <termio.h>. There are also differences in |
920 | * the ioctl() calls that depend on the value of this symbol. |
921 | */ |
922 | /*#define I_TERMIO /**/ |
923 | /*#define I_TERMIOS /**/ |
924 | /*#define I_SGTTY /**/ |
925 | |
08aa1457 |
926 | /* I_UNISTD: |
927 | * This symbol, if defined, indicates to the C program that it should |
928 | * include <unistd.h>. |
929 | */ |
930 | /*#define I_UNISTD /**/ |
931 | |
932 | /* I_UTIME: |
933 | * This symbol, if defined, indicates to the C program that it should |
934 | * include <utime.h>. |
935 | */ |
936 | #define I_UTIME /**/ |
937 | |
924b3ec4 |
938 | /* I_VALUES: |
939 | * This symbol, if defined, indicates to the C program that it should |
940 | * include <values.h> to get definition of symbols like MINFLOAT or |
941 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
942 | * should use <limits.h> instead, if it is available. |
943 | */ |
944 | /*#define I_VALUES /**/ |
945 | |
08aa1457 |
946 | /* I_STDARG: |
947 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
948 | * be included. |
949 | */ |
950 | /* I_VARARGS: |
951 | * This symbol, if defined, indicates to the C program that it should |
952 | * include <varargs.h>. |
953 | */ |
954 | #define I_STDARG /**/ |
955 | /*#define I_VARARGS /**/ |
956 | |
957 | /* I_VFORK: |
958 | * This symbol, if defined, indicates to the C program that it should |
959 | * include vfork.h. |
960 | */ |
961 | /*#define I_VFORK /**/ |
962 | |
08aa1457 |
963 | /* CAN_PROTOTYPE: |
964 | * If defined, this macro indicates that the C compiler can handle |
965 | * function prototypes. |
966 | */ |
967 | /* _: |
968 | * This macro is used to declare function parameters for folks who want |
969 | * to make declarations with prototypes using a different style than |
970 | * the above macros. Use double parentheses. For example: |
971 | * |
972 | * int main _((int argc, char *argv[])); |
973 | */ |
974 | #define CAN_PROTOTYPE /**/ |
975 | #ifdef CAN_PROTOTYPE |
976 | #define _(args) args |
977 | #else |
978 | #define _(args) () |
979 | #endif |
980 | |
924b3ec4 |
981 | /* SH_PATH: |
982 | * This symbol contains the full pathname to the shell used on this |
983 | * on this system to execute Bourne shell scripts. Usually, this will be |
984 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
985 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
986 | * D:/bin/sh.exe. |
08aa1457 |
987 | */ |
924b3ec4 |
988 | #define SH_PATH "cmd /x /c" /**/ |
08aa1457 |
989 | |
08aa1457 |
990 | /* STDCHAR: |
991 | * This symbol is defined to be the type of char used in stdio.h. |
992 | * It has the values "unsigned char" or "char". |
993 | */ |
4e35701f |
994 | #define STDCHAR char /**/ |
08aa1457 |
995 | |
9423c6fc |
996 | /* CROSSCOMPILE: |
997 | * This symbol, if defined, signifies that we our |
998 | * build process is a cross-compilation. |
999 | */ |
1000 | /*#define CROSSCOMPILE /**/ |
1001 | |
1002 | /* INTSIZE: |
1003 | * This symbol contains the value of sizeof(int) so that the C |
1004 | * preprocessor can make decisions based on it. |
1005 | */ |
1006 | /* LONGSIZE: |
1007 | * This symbol contains the value of sizeof(long) so that the C |
1008 | * preprocessor can make decisions based on it. |
1009 | */ |
1010 | /* SHORTSIZE: |
1011 | * This symbol contains the value of sizeof(short) so that the C |
1012 | * preprocessor can make decisions based on it. |
1013 | */ |
1014 | #define INTSIZE 4 /**/ |
1015 | #define LONGSIZE 4 /**/ |
1016 | #define SHORTSIZE 2 /**/ |
1017 | |
1018 | /* MULTIARCH: |
1019 | * This symbol, if defined, signifies that the build |
1020 | * process will produce some binary files that are going to be |
1021 | * used in a cross-platform environment. This is the case for |
1022 | * example with the NeXT "fat" binaries that contain executables |
1023 | * for several CPUs. |
1024 | */ |
1025 | /*#define MULTIARCH /**/ |
1026 | |
bbda9c9d |
1027 | /* HAS_QUAD: |
1028 | * This symbol, if defined, tells that there's a 64-bit integer type, |
1029 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one |
1030 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. |
1031 | */ |
1032 | /*#define HAS_QUAD /**/ |
1033 | #ifdef HAS_QUAD |
1034 | # define Quad_t __int64 /**/ |
1035 | # define Uquad_t unsigned __int64 /**/ |
ac135a7c |
1036 | # define QUADKIND 5 /**/ |
bbda9c9d |
1037 | # define QUAD_IS_INT 1 |
1038 | # define QUAD_IS_LONG 2 |
1039 | # define QUAD_IS_LONG_LONG 3 |
1040 | # define QUAD_IS_INT64_T 4 |
1041 | #endif |
1042 | |
1043 | /* HAS_ACCESSX: |
1044 | * This symbol, if defined, indicates that the accessx routine is |
1045 | * available to do extended access checks. |
1046 | */ |
1047 | /*#define HAS_ACCESSX /**/ |
1048 | |
1049 | /* HAS_EACCESS: |
1050 | * This symbol, if defined, indicates that the eaccess routine is |
1051 | * available to do extended access checks. |
1052 | */ |
1053 | /*#define HAS_EACCESS /**/ |
1054 | |
1055 | /* I_SYS_ACCESS: |
1056 | * This symbol, if defined, indicates to the C program that it should |
1057 | * include <sys/access.h>. |
1058 | */ |
1059 | /*#define I_SYS_ACCESS /**/ |
1060 | |
1061 | /* I_SYS_SECURITY: |
1062 | * This symbol, if defined, indicates to the C program that it should |
1063 | * include <sys/security.h>. |
1064 | */ |
1065 | /*#define I_SYS_SECURITY /**/ |
1066 | |
3635cd84 |
1067 | /* OSNAME: |
1068 | * This symbol contains the name of the operating system, as determined |
1069 | * by Configure. You shouldn't rely on it too much; the specific |
1070 | * feature tests from Configure are generally more reliable. |
1071 | */ |
1072 | #define OSNAME "MSWin32" /**/ |
1073 | |
924b3ec4 |
1074 | /* MEM_ALIGNBYTES: |
9423c6fc |
1075 | * This symbol contains the number of bytes required to align a |
ac135a7c |
1076 | * double, or a long double when applicable. Usual values are 2, |
1077 | * 4 and 8. The default is eight, for safety. |
08aa1457 |
1078 | */ |
9423c6fc |
1079 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1080 | # define MEM_ALIGNBYTES 8 |
1081 | #else |
1082 | #define MEM_ALIGNBYTES 8 |
1083 | #endif |
08aa1457 |
1084 | |
3635cd84 |
1085 | /* ARCHLIB: |
1086 | * This variable, if defined, holds the name of the directory in |
1087 | * which the user wants to put architecture-dependent public |
1088 | * library files for perl5. It is most often a local directory |
1089 | * such as /usr/local/lib. Programs using this variable must be |
1090 | * prepared to deal with filename expansion. If ARCHLIB is the |
1091 | * same as PRIVLIB, it is not defined, since presumably the |
1092 | * program already searches PRIVLIB. |
1093 | */ |
1094 | /* ARCHLIB_EXP: |
1095 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
1096 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1097 | */ |
e5a4bac5 |
1098 | #define ARCHLIB "c:\\perl\\5.6.0\\lib\\MSWin32-x86" /**/ |
3635cd84 |
1099 | /*#define ARCHLIB_EXP "" /**/ |
1100 | |
1101 | /* ARCHNAME: |
1102 | * This symbol holds a string representing the architecture name. |
1103 | * It may be used to construct an architecture-dependant pathname |
1104 | * where library files may be held under a private library, for |
1105 | * instance. |
1106 | */ |
1107 | #define ARCHNAME "MSWin32-x86" /**/ |
1108 | |
1109 | /* HAS_ATOLF: |
1110 | * This symbol, if defined, indicates that the atolf routine is |
1111 | * available to convert strings into long doubles. |
1112 | */ |
1113 | /*#define HAS_ATOLF /**/ |
1114 | |
1115 | /* HAS_ATOLL: |
1116 | * This symbol, if defined, indicates that the atoll routine is |
1117 | * available to convert strings into long longs. |
1118 | */ |
1119 | /*#define HAS_ATOLL /**/ |
1120 | |
1121 | /* BIN: |
1122 | * This symbol holds the path of the bin directory where the package will |
1123 | * be installed. Program must be prepared to deal with ~name substitution. |
1124 | */ |
1125 | /* BIN_EXP: |
1126 | * This symbol is the filename expanded version of the BIN symbol, for |
1127 | * programs that do not want to deal with that at run-time. |
1128 | */ |
e5a4bac5 |
1129 | #define BIN "c:\\perl\\5.6.0\\bin\\MSWin32-x86" /**/ |
1130 | #define BIN_EXP "c:\\perl\\5.6.0\\bin\\MSWin32-x86" /**/ |
3635cd84 |
1131 | |
1132 | /* PERL_BINCOMPAT_5005: |
f78bfc9c |
1133 | * This symbol, if defined, indicates that this version of Perl should be |
3635cd84 |
1134 | * binary-compatible with Perl 5.005. This is impossible for builds |
1135 | * that use features like threads and multiplicity it is always undef |
1136 | * for those versions. |
1137 | */ |
1138 | /*#define PERL_BINCOMPAT_5005 /**/ |
1139 | |
08aa1457 |
1140 | /* BYTEORDER: |
1141 | * This symbol holds the hexadecimal constant defined in byteorder, |
1142 | * i.e. 0x1234 or 0x4321, etc... |
9423c6fc |
1143 | * If the compiler supports cross-compiling or multiple-architecture |
1144 | * binaries (eg. on NeXT systems), use compiler-defined macros to |
1145 | * determine the byte order. |
08aa1457 |
1146 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
1147 | * Binaries (MAB) on either big endian or little endian machines. |
1148 | * The endian-ness is available at compile-time. This only matters |
1149 | * for perl, where the config.h can be generated and installed on |
1150 | * one system, and used by a different architecture to build an |
1151 | * extension. Older versions of NeXT that might not have |
1152 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1153 | * so the default case (for NeXT) is big endian to catch them. |
1154 | * This might matter for NeXT 3.0. |
1155 | */ |
9423c6fc |
1156 | #if defined(CROSSCOMPILE) || defined(MULTIARCH) |
1157 | # ifdef __LITTLE_ENDIAN__ |
1158 | # if LONGSIZE == 4 |
1159 | # define BYTEORDER 0x1234 |
1160 | # else |
1161 | # if LONGSIZE == 8 |
1162 | # define BYTEORDER 0x12345678 |
1163 | # endif |
1164 | # endif |
1165 | # else |
1166 | # ifdef __BIG_ENDIAN__ |
1167 | # if LONGSIZE == 4 |
1168 | # define BYTEORDER 0x4321 |
1169 | # else |
1170 | # if LONGSIZE == 8 |
1171 | # define BYTEORDER 0x87654321 |
1172 | # endif |
1173 | # endif |
1174 | # endif |
1175 | # endif |
1176 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) |
1177 | # define BYTEORDER 0x4321 |
1178 | # endif |
1179 | #else |
08aa1457 |
1180 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
08aa1457 |
1181 | #endif /* NeXT */ |
1182 | |
3635cd84 |
1183 | /* CAT2: |
1184 | * This macro catenates 2 tokens together. |
1185 | */ |
1186 | /* STRINGIFY: |
1187 | * This macro surrounds its token with double quotes. |
1188 | */ |
1189 | #if 42 == 1 |
e5a4bac5 |
1190 | # define CAT2(a,b) a/**/b |
1191 | # define STRINGIFY(a) "a" |
3635cd84 |
1192 | /* If you can get stringification with catify, tell me how! */ |
1193 | #endif |
1194 | #if 42 == 42 |
e5a4bac5 |
1195 | # define PeRl_CaTiFy(a, b) a ## b |
1196 | # define PeRl_StGiFy(a) #a |
1197 | /* the additional level of indirection enables these macros to be |
1198 | * used as arguments to other macros. See K&R 2nd ed., page 231. */ |
1199 | # define CAT2(a,b) PeRl_CaTiFy(a,b) |
1200 | # define StGiFy(a) PeRl_StGiFy(a) |
1201 | # define STRINGIFY(a) PeRl_StGiFy(a) |
3635cd84 |
1202 | #endif |
1203 | #if 42 != 1 && 42 != 42 |
1204 | #include "Bletch: How does this C preprocessor catenate tokens?" |
1205 | #endif |
1206 | |
1207 | /* CPPSTDIN: |
1208 | * This symbol contains the first part of the string which will invoke |
1209 | * the C preprocessor on the standard input and produce to standard |
1210 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
1211 | * call a wrapper. See CPPRUN. |
1212 | */ |
1213 | /* CPPMINUS: |
1214 | * This symbol contains the second part of the string which will invoke |
1215 | * the C preprocessor on the standard input and produce to standard |
1216 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
1217 | * to specify standard input, otherwise the value is "". |
1218 | */ |
1219 | /* CPPRUN: |
1220 | * This symbol contains the string which will invoke a C preprocessor on |
1221 | * the standard input and produce to standard output. It needs to end |
1222 | * with CPPLAST, after all other preprocessor flags have been specified. |
1223 | * The main difference with CPPSTDIN is that this program will never be a |
1224 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is |
1225 | * available directly to the user. Note that it may well be different from |
1226 | * the preprocessor used to compile the C program. |
1227 | */ |
ac135a7c |
1228 | /* CPPLAST: |
1229 | * This symbol is intended to be used along with CPPRUN in the same manner |
1230 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". |
1231 | */ |
3635cd84 |
1232 | #define CPPSTDIN "cl -nologo -E" |
1233 | #define CPPMINUS "" |
1234 | #define CPPRUN "cl -nologo -E" |
ac135a7c |
1235 | #define CPPLAST "" |
3635cd84 |
1236 | |
1237 | /* HAS_ACCESS: |
1238 | * This manifest constant lets the C program know that the access() |
1239 | * system call is available to check for accessibility using real UID/GID. |
1240 | * (always present on UNIX.) |
1241 | */ |
1242 | #define HAS_ACCESS /**/ |
1243 | |
924b3ec4 |
1244 | /* CASTI32: |
1245 | * This symbol is defined if the C compiler can cast negative |
1246 | * or large floating point numbers to 32-bit ints. |
08aa1457 |
1247 | */ |
2cdbc966 |
1248 | /*#define CASTI32 /**/ |
08aa1457 |
1249 | |
924b3ec4 |
1250 | /* CASTNEGFLOAT: |
1251 | * This symbol is defined if the C compiler can cast negative |
1252 | * numbers to unsigned longs, ints and shorts. |
08aa1457 |
1253 | */ |
924b3ec4 |
1254 | /* CASTFLAGS: |
1255 | * This symbol contains flags that say what difficulties the compiler |
1256 | * has casting odd floating values to unsigned long: |
1257 | * 0 = ok |
1258 | * 1 = couldn't cast < 0 |
1259 | * 2 = couldn't cast >= 0x80000000 |
1260 | * 4 = couldn't cast in argument expression list |
08aa1457 |
1261 | */ |
924b3ec4 |
1262 | #define CASTNEGFLOAT /**/ |
1263 | #define CASTFLAGS 0 /**/ |
1264 | |
1265 | /* VOID_CLOSEDIR: |
1266 | * This symbol, if defined, indicates that the closedir() routine |
1267 | * does not return a value. |
08aa1457 |
1268 | */ |
924b3ec4 |
1269 | /*#define VOID_CLOSEDIR /**/ |
08aa1457 |
1270 | |
3635cd84 |
1271 | /* HAS_CSH: |
1272 | * This symbol, if defined, indicates that the C-shell exists. |
1273 | */ |
1274 | /* CSH: |
1275 | * This symbol, if defined, contains the full pathname of csh. |
1276 | */ |
1277 | /*#define HAS_CSH /**/ |
1278 | #ifdef HAS_CSH |
1279 | #define CSH "" /**/ |
1280 | #endif |
1281 | |
1282 | /* DLSYM_NEEDS_UNDERSCORE: |
1283 | * This symbol, if defined, indicates that we need to prepend an |
1284 | * underscore to the symbol name before calling dlsym(). This only |
1285 | * makes sense if you *have* dlsym, which we will presume is the |
1286 | * case if you're using dl_dlopen.xs. |
1287 | */ |
1288 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
1289 | |
1290 | /* HAS_DRAND48_PROTO: |
1291 | * This symbol, if defined, indicates that the system provides |
1292 | * a prototype for the drand48() function. Otherwise, it is up |
1293 | * to the program to supply one. A good guess is |
1294 | * extern double drand48 _((void)); |
1295 | */ |
1296 | /*#define HAS_DRAND48_PROTO /**/ |
1297 | |
1298 | /* HAS_ENDGRENT: |
1299 | * This symbol, if defined, indicates that the getgrent routine is |
1300 | * available for finalizing sequential access of the group database. |
1301 | */ |
1302 | /*#define HAS_ENDGRENT /**/ |
1303 | |
1304 | /* HAS_ENDHOSTENT: |
1305 | * This symbol, if defined, indicates that the endhostent() routine is |
1306 | * available to close whatever was being used for host queries. |
1307 | */ |
1308 | /*#define HAS_ENDHOSTENT /**/ |
1309 | |
1310 | /* HAS_ENDNETENT: |
1311 | * This symbol, if defined, indicates that the endnetent() routine is |
1312 | * available to close whatever was being used for network queries. |
1313 | */ |
1314 | /*#define HAS_ENDNETENT /**/ |
1315 | |
1316 | /* HAS_ENDPROTOENT: |
1317 | * This symbol, if defined, indicates that the endprotoent() routine is |
1318 | * available to close whatever was being used for protocol queries. |
1319 | */ |
1320 | /*#define HAS_ENDPROTOENT /**/ |
1321 | |
1322 | /* HAS_ENDPWENT: |
1323 | * This symbol, if defined, indicates that the getgrent routine is |
1324 | * available for finalizing sequential access of the passwd database. |
1325 | */ |
1326 | /*#define HAS_ENDPWENT /**/ |
1327 | |
1328 | /* HAS_ENDSERVENT: |
1329 | * This symbol, if defined, indicates that the endservent() routine is |
1330 | * available to close whatever was being used for service queries. |
1331 | */ |
1332 | /*#define HAS_ENDSERVENT /**/ |
1333 | |
c4d53692 |
1334 | /* HAS_FD_SET: |
1335 | * This symbol, when defined, indicates presence of the fd_set typedef |
1336 | * in <sys/types.h> |
1337 | */ |
1338 | #define HAS_FD_SET /**/ |
1339 | |
ac135a7c |
1340 | /* HAS_FPOS64_T: |
1341 | * This symbol will be defined if the C compiler supports fpos64_t. |
1342 | */ |
1343 | /*#define HAS_FPOS64_T /**/ |
1344 | |
3635cd84 |
1345 | /* HAS_STRUCT_FS_DATA: |
1346 | * This symbol, if defined, indicates that the struct fs_data |
1347 | * to do statfs() is supported. |
1348 | */ |
1349 | /*#define HAS_STRUCT_FS_DATA /**/ |
1350 | |
1351 | /* HAS_FSEEKO: |
1352 | * This symbol, if defined, indicates that the fseeko routine is |
1353 | * available to fseek beyond 32 bits (useful for ILP32 hosts). |
1354 | */ |
1355 | /*#define HAS_FSEEKO /**/ |
1356 | |
1357 | /* HAS_FSTATFS: |
1358 | * This symbol, if defined, indicates that the fstatfs routine is |
1359 | * available to stat filesystems by file descriptors. |
1360 | */ |
1361 | /*#define HAS_FSTATFS /**/ |
c890dc6c |
1362 | |
3635cd84 |
1363 | /* HAS_FTELLO: |
1364 | * This symbol, if defined, indicates that the ftello routine is |
1365 | * available to ftell beyond 32 bits (useful for ILP32 hosts). |
1366 | */ |
1367 | /*#define HAS_FTELLO /**/ |
1368 | |
08aa1457 |
1369 | /* Gconvert: |
1370 | * This preprocessor macro is defined to convert a floating point |
1371 | * number to a string without a trailing decimal point. This |
1372 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1373 | * efficient. If gconvert() is not available, but gcvt() drops the |
1374 | * trailing decimal point, then gcvt() is used. If all else fails, |
1375 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1376 | * macro are: value, number of digits, whether trailing zeros should |
1377 | * be retained, and the output buffer. |
1378 | * Possible values are: |
1379 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1380 | * d_Gconvert='gcvt((x),(n),(b))' |
1381 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1382 | * The last two assume trailing zeros should not be kept. |
1383 | */ |
1384 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) |
1385 | |
fe749a9f |
1386 | /* HAS_GETCWD: |
1387 | * This symbol, if defined, indicates that the getcwd routine is |
1388 | * available to get the current working directory. |
1389 | */ |
1390 | /*#define HAS_GETCWD /**/ |
1391 | |
2fcfac58 |
1392 | /* HAS_GETFSSTAT: |
1393 | * This symbol, if defined, indicates that the getfsstat routine is |
1394 | * available to stat filesystems in bulk. |
1395 | */ |
1396 | /*#define HAS_GETFSSTAT /**/ |
1397 | |
3635cd84 |
1398 | /* HAS_GETGRENT: |
1399 | * This symbol, if defined, indicates that the getgrent routine is |
1400 | * available for sequential access of the group database. |
08aa1457 |
1401 | */ |
3635cd84 |
1402 | /*#define HAS_GETGRENT /**/ |
08aa1457 |
1403 | |
3635cd84 |
1404 | /* HAS_GETHOSTBYADDR: |
1405 | * This symbol, if defined, indicates that the gethostbyaddr() routine is |
1406 | * available to look up hosts by their IP addresses. |
be44fb0e |
1407 | */ |
3635cd84 |
1408 | #define HAS_GETHOSTBYADDR /**/ |
be44fb0e |
1409 | |
3635cd84 |
1410 | /* HAS_GETHOSTBYNAME: |
1411 | * This symbol, if defined, indicates that the gethostbyname() routine is |
1412 | * available to look up host names in some data base or other. |
08aa1457 |
1413 | */ |
3635cd84 |
1414 | #define HAS_GETHOSTBYNAME /**/ |
08aa1457 |
1415 | |
3635cd84 |
1416 | /* HAS_GETHOSTENT: |
1417 | * This symbol, if defined, indicates that the gethostent() routine is |
1418 | * available to look up host names in some data base or another. |
08aa1457 |
1419 | */ |
3635cd84 |
1420 | /*#define HAS_GETHOSTENT /**/ |
08aa1457 |
1421 | |
3635cd84 |
1422 | /* HAS_GETHOSTNAME: |
1423 | * This symbol, if defined, indicates that the C program may use the |
1424 | * gethostname() routine to derive the host name. See also HAS_UNAME |
1425 | * and PHOSTNAME. |
08aa1457 |
1426 | */ |
3635cd84 |
1427 | /* HAS_UNAME: |
1428 | * This symbol, if defined, indicates that the C program may use the |
1429 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
1430 | * and PHOSTNAME. |
08aa1457 |
1431 | */ |
3635cd84 |
1432 | /* PHOSTNAME: |
1433 | * This symbol, if defined, indicates the command to feed to the |
1434 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME |
1435 | * and HAS_UNAME. Note that the command uses a fully qualified path, |
1436 | * so that it is safe even if used by a process with super-user |
1437 | * privileges. |
1438 | */ |
ac135a7c |
1439 | /* HAS_PHOSTNAME: |
1440 | * This symbol, if defined, indicates that the C program may use the |
1441 | * contents of PHOSTNAME as a command to feed to the popen() routine |
1442 | * to derive the host name. |
1443 | */ |
3635cd84 |
1444 | #define HAS_GETHOSTNAME /**/ |
1445 | #define HAS_UNAME /**/ |
ac135a7c |
1446 | /*#define HAS_PHOSTNAME /**/ |
3635cd84 |
1447 | #ifdef HAS_PHOSTNAME |
1448 | #define PHOSTNAME "" /* How to get the host name */ |
1449 | #endif |
08aa1457 |
1450 | |
3635cd84 |
1451 | /* HAS_GETHOST_PROTOS: |
1452 | * This symbol, if defined, indicates that <netdb.h> includes |
1453 | * prototypes for gethostent(), gethostbyname(), and |
1454 | * gethostbyaddr(). Otherwise, it is up to the program to guess |
1455 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
fea7140c |
1456 | */ |
3635cd84 |
1457 | #define HAS_GETHOST_PROTOS /**/ |
fea7140c |
1458 | |
3635cd84 |
1459 | /* HAS_GETMNT: |
1460 | * This symbol, if defined, indicates that the getmnt routine is |
1461 | * available to get filesystem mount info by filename. |
c4d53692 |
1462 | */ |
3635cd84 |
1463 | /*#define HAS_GETMNT /**/ |
1464 | |
1465 | /* HAS_GETMNTENT: |
1466 | * This symbol, if defined, indicates that the getmntent routine is |
1467 | * available to iterate through mounted file systems to get their info. |
08aa1457 |
1468 | */ |
3635cd84 |
1469 | /*#define HAS_GETMNTENT /**/ |
1470 | |
1471 | /* HAS_GETNETBYADDR: |
1472 | * This symbol, if defined, indicates that the getnetbyaddr() routine is |
1473 | * available to look up networks by their IP addresses. |
08aa1457 |
1474 | */ |
3635cd84 |
1475 | /*#define HAS_GETNETBYADDR /**/ |
1476 | |
1477 | /* HAS_GETNETBYNAME: |
1478 | * This symbol, if defined, indicates that the getnetbyname() routine is |
1479 | * available to look up networks by their names. |
08aa1457 |
1480 | */ |
3635cd84 |
1481 | /*#define HAS_GETNETBYNAME /**/ |
08aa1457 |
1482 | |
3635cd84 |
1483 | /* HAS_GETNETENT: |
1484 | * This symbol, if defined, indicates that the getnetent() routine is |
1485 | * available to look up network names in some data base or another. |
08aa1457 |
1486 | */ |
3635cd84 |
1487 | /*#define HAS_GETNETENT /**/ |
1488 | |
1489 | /* HAS_GETNET_PROTOS: |
1490 | * This symbol, if defined, indicates that <netdb.h> includes |
1491 | * prototypes for getnetent(), getnetbyname(), and |
1492 | * getnetbyaddr(). Otherwise, it is up to the program to guess |
1493 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
924b3ec4 |
1494 | */ |
3635cd84 |
1495 | /*#define HAS_GETNET_PROTOS /**/ |
1496 | |
1497 | /* HAS_GETPROTOENT: |
1498 | * This symbol, if defined, indicates that the getprotoent() routine is |
1499 | * available to look up protocols in some data base or another. |
924b3ec4 |
1500 | */ |
3635cd84 |
1501 | /*#define HAS_GETPROTOENT /**/ |
1502 | |
1503 | /* HAS_GETPROTOBYNAME: |
1504 | * This symbol, if defined, indicates that the getprotobyname() |
1505 | * routine is available to look up protocols by their name. |
924b3ec4 |
1506 | */ |
3635cd84 |
1507 | /* HAS_GETPROTOBYNUMBER: |
1508 | * This symbol, if defined, indicates that the getprotobynumber() |
1509 | * routine is available to look up protocols by their number. |
924b3ec4 |
1510 | */ |
3635cd84 |
1511 | #define HAS_GETPROTOBYNAME /**/ |
1512 | #define HAS_GETPROTOBYNUMBER /**/ |
08aa1457 |
1513 | |
3635cd84 |
1514 | /* HAS_GETPROTO_PROTOS: |
1515 | * This symbol, if defined, indicates that <netdb.h> includes |
1516 | * prototypes for getprotoent(), getprotobyname(), and |
1517 | * getprotobyaddr(). Otherwise, it is up to the program to guess |
1518 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
08aa1457 |
1519 | */ |
3635cd84 |
1520 | #define HAS_GETPROTO_PROTOS /**/ |
1521 | |
1522 | /* HAS_GETPWENT: |
1523 | * This symbol, if defined, indicates that the getpwent routine is |
1524 | * available for sequential access of the passwd database. |
1525 | * If this is not available, the older getpw() function may be available. |
924b3ec4 |
1526 | */ |
3635cd84 |
1527 | /*#define HAS_GETPWENT /**/ |
08aa1457 |
1528 | |
3635cd84 |
1529 | /* HAS_GETSERVENT: |
1530 | * This symbol, if defined, indicates that the getservent() routine is |
1531 | * available to look up network services in some data base or another. |
08aa1457 |
1532 | */ |
3635cd84 |
1533 | /*#define HAS_GETSERVENT /**/ |
1534 | |
1535 | /* HAS_GETSERV_PROTOS: |
1536 | * This symbol, if defined, indicates that <netdb.h> includes |
1537 | * prototypes for getservent(), getservbyname(), and |
1538 | * getservbyaddr(). Otherwise, it is up to the program to guess |
1539 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
924b3ec4 |
1540 | */ |
3635cd84 |
1541 | #define HAS_GETSERV_PROTOS /**/ |
08aa1457 |
1542 | |
3635cd84 |
1543 | /* HAS_GETSPNAM: |
1544 | * This symbol, if defined, indicates that the getspnam system call is |
1545 | * available to retrieve SysV shadow password entries by name. |
08aa1457 |
1546 | */ |
3635cd84 |
1547 | /*#define HAS_GETSPNAM /**/ |
1548 | |
3813c136 |
1549 | /* HAS_GETESPWNAM: |
1550 | * This symbol, if defined, indicates that the getespwnam system call is |
1551 | * available to retrieve enchanced (shadow) password entries by name. |
1552 | */ |
1553 | /*#define HAS_GETESPWNAM /**/ |
1554 | |
1555 | /* HAS_GETPRPWNAM: |
1556 | * This symbol, if defined, indicates that the getprpwnam system call is |
1557 | * available to retrieve protected (shadow) password entries by name. |
1558 | */ |
1559 | /*#define HAS_GETPRPWNAM /**/ |
1560 | |
1561 | /* I_PROT: |
1562 | * This symbol, if defined, indicates that <prot.h> exists and |
1563 | * should be included. |
1564 | */ |
1565 | /*#define I_PROT /**/ |
1566 | |
3635cd84 |
1567 | /* HAS_GETSERVBYNAME: |
1568 | * This symbol, if defined, indicates that the getservbyname() |
1569 | * routine is available to look up services by their name. |
08aa1457 |
1570 | */ |
3635cd84 |
1571 | /* HAS_GETSERVBYPORT: |
1572 | * This symbol, if defined, indicates that the getservbyport() |
1573 | * routine is available to look up services by their port. |
08aa1457 |
1574 | */ |
3635cd84 |
1575 | #define HAS_GETSERVBYNAME /**/ |
1576 | #define HAS_GETSERVBYPORT /**/ |
08aa1457 |
1577 | |
3635cd84 |
1578 | /* HAS_GNULIBC: |
1579 | * This symbol, if defined, indicates to the C program that |
1580 | * the GNU C library is being used. |
08aa1457 |
1581 | */ |
3635cd84 |
1582 | /*#define HAS_GNULIBC /**/ |
ac135a7c |
1583 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) |
1584 | # define _GNU_SOURCE |
1585 | #endif |
3635cd84 |
1586 | /* HAS_HASMNTOPT: |
1587 | * This symbol, if defined, indicates that the hasmntopt routine is |
1588 | * available to query the mount options of file systems. |
924b3ec4 |
1589 | */ |
3635cd84 |
1590 | /*#define HAS_HASMNTOPT /**/ |
1591 | |
1592 | /* HAS_HTONL: |
1593 | * This symbol, if defined, indicates that the htonl() routine (and |
1594 | * friends htons() ntohl() ntohs()) are available to do network |
1595 | * order byte swapping. |
924b3ec4 |
1596 | */ |
3635cd84 |
1597 | /* HAS_HTONS: |
1598 | * This symbol, if defined, indicates that the htons() routine (and |
1599 | * friends htonl() ntohl() ntohs()) are available to do network |
1600 | * order byte swapping. |
924b3ec4 |
1601 | */ |
3635cd84 |
1602 | /* HAS_NTOHL: |
1603 | * This symbol, if defined, indicates that the ntohl() routine (and |
1604 | * friends htonl() htons() ntohs()) are available to do network |
1605 | * order byte swapping. |
1606 | */ |
1607 | /* HAS_NTOHS: |
1608 | * This symbol, if defined, indicates that the ntohs() routine (and |
1609 | * friends htonl() htons() ntohl()) are available to do network |
1610 | * order byte swapping. |
1611 | */ |
1612 | #define HAS_HTONL /**/ |
1613 | #define HAS_HTONS /**/ |
1614 | #define HAS_NTOHL /**/ |
1615 | #define HAS_NTOHS /**/ |
08aa1457 |
1616 | |
ac135a7c |
1617 | /* HAS_ICONV: |
1618 | * This symbol, if defined, indicates that the iconv routine is |
1619 | * available to do character set conversions. |
1620 | */ |
1621 | /*#define HAS_ICONV /**/ |
1622 | |
1623 | /* HAS_INT64_T: |
1624 | * This symbol will defined if the C compiler supports int64_t. |
1625 | * Usually the <inttypes.h> needs to be included, but sometimes |
1626 | * <sys/types.h> is enough. |
1627 | */ |
1628 | /*#define HAS_INT64_T /**/ |
1629 | |
3635cd84 |
1630 | /* HAS_ISASCII: |
1631 | * This manifest constant lets the C program know that isascii |
1632 | * is available. |
07ba5892 |
1633 | */ |
3635cd84 |
1634 | #define HAS_ISASCII /**/ |
07ba5892 |
1635 | |
a3540c92 |
1636 | /* HAS_ISNAN: |
1637 | * This symbol, if defined, indicates that the isnan routine is |
1638 | * available to check whether a double is a NaN. |
1639 | */ |
1640 | #define HAS_ISNAN /**/ |
1641 | |
1642 | /* HAS_ISNANL: |
1643 | * This symbol, if defined, indicates that the isnanl routine is |
1644 | * available to check whether a long double is a NaN. |
1645 | */ |
1646 | /*#define HAS_ISNANL /**/ |
1647 | |
3635cd84 |
1648 | /* HAS_LDBL_DIG: |
1649 | * This symbol, if defined, indicates that this system's <float.h> |
1650 | * or <limits.h> defines the symbol LDBL_DIG, which is the number |
1651 | * of significant digits in a long double precision number. Unlike |
1652 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. |
104f9d64 |
1653 | */ |
3635cd84 |
1654 | #define HAS_LDBL_DIG /**/ |
1655 | |
1656 | /* HAS_LONG_DOUBLE: |
1657 | * This symbol will be defined if the C compiler supports long |
1658 | * doubles. |
104f9d64 |
1659 | */ |
3635cd84 |
1660 | /* LONG_DOUBLESIZE: |
1661 | * This symbol contains the size of a long double, so that the |
1662 | * C preprocessor can make decisions based on it. It is only |
1663 | * defined if the system supports long doubles. |
924b3ec4 |
1664 | */ |
3635cd84 |
1665 | #define HAS_LONG_DOUBLE /**/ |
1666 | #ifdef HAS_LONG_DOUBLE |
1667 | #define LONG_DOUBLESIZE 10 /**/ |
1668 | #endif |
924b3ec4 |
1669 | |
3635cd84 |
1670 | /* HAS_LONG_LONG: |
1671 | * This symbol will be defined if the C compiler supports long long. |
924b3ec4 |
1672 | */ |
3635cd84 |
1673 | /* LONGLONGSIZE: |
1674 | * This symbol contains the size of a long long, so that the |
1675 | * C preprocessor can make decisions based on it. It is only |
1676 | * defined if the system supports long long. |
327c3667 |
1677 | */ |
3635cd84 |
1678 | /*#define HAS_LONG_LONG /**/ |
1679 | #ifdef HAS_LONG_LONG |
1680 | #define LONGLONGSIZE 8 /**/ |
1681 | #endif |
327c3667 |
1682 | |
2fcfac58 |
1683 | /* HAS_LSEEK_PROTO: |
1684 | * This symbol, if defined, indicates that the system provides |
1685 | * a prototype for the lseek() function. Otherwise, it is up |
1686 | * to the program to supply one. A good guess is |
1687 | * extern off_t lseek(int, off_t, int); |
1688 | */ |
1689 | #define HAS_LSEEK_PROTO /**/ |
1690 | |
ac135a7c |
1691 | /* HAS_MADVISE: |
1692 | * This symbol, if defined, indicates that the madvise system call is |
1693 | * available to map a file into memory. |
c890dc6c |
1694 | */ |
ac135a7c |
1695 | /*#define HAS_MADVISE /**/ |
c890dc6c |
1696 | |
3635cd84 |
1697 | /* HAS_MEMCHR: |
1698 | * This symbol, if defined, indicates that the memchr routine is available |
1699 | * to locate characters within a C string. |
82839a9d |
1700 | */ |
3635cd84 |
1701 | #define HAS_MEMCHR /**/ |
1702 | |
ac135a7c |
1703 | /* HAS_MKDTEMP: |
1704 | * This symbol, if defined, indicates that the mkdtemp routine is |
1705 | * available to exclusively create a uniquely named temporary directory. |
1706 | */ |
1707 | /*#define HAS_MKDTEMP /**/ |
1708 | |
1709 | /* HAS_MKSTEMP: |
1710 | * This symbol, if defined, indicates that the mkstemp routine is |
1711 | * available to exclusively create and open a uniquely named |
1712 | * temporary file. |
1713 | */ |
1714 | /*#define HAS_MKSTEMP /**/ |
1715 | |
1716 | /* HAS_MKSTEMPS: |
1717 | * This symbol, if defined, indicates that the mkstemps routine is |
1718 | * available to excluslvely create and open a uniquely named |
1719 | * (with a suffix) temporary file. |
1720 | */ |
1721 | /*#define HAS_MKSTEMPS /**/ |
1722 | |
1723 | /* HAS_MMAP: |
1724 | * This symbol, if defined, indicates that the mmap system call is |
1725 | * available to map a file into memory. |
1726 | */ |
1727 | /* Mmap_t: |
1728 | * This symbol holds the return type of the mmap() system call |
1729 | * (and simultaneously the type of the first argument). |
1730 | * Usually set to 'void *' or 'cadd_t'. |
1731 | */ |
1732 | /*#define HAS_MMAP /**/ |
1733 | #define Mmap_t void * /**/ |
1734 | |
1735 | /* HAS_MPROTECT: |
1736 | * This symbol, if defined, indicates that the mprotect system call is |
1737 | * available to modify the access protection of a memory mapped file. |
1738 | */ |
1739 | /*#define HAS_MPROTECT /**/ |
1740 | |
a3540c92 |
1741 | /* HAS_MODFL: |
1742 | * This symbol, if defined, indicates that the modfl routine is |
1743 | * available to split a long double x into a fractional part f and |
1744 | * an integer part i such that |f| < 1.0 and (f + i) = x. |
1745 | */ |
1746 | /*#define HAS_MODFL /**/ |
1747 | |
3635cd84 |
1748 | /* HAS_MSG: |
1749 | * This symbol, if defined, indicates that the entire msg*(2) library is |
1750 | * supported (IPC mechanism based on message queues). |
82839a9d |
1751 | */ |
3635cd84 |
1752 | /*#define HAS_MSG /**/ |
82839a9d |
1753 | |
ac135a7c |
1754 | /* HAS_OFF64_T: |
1755 | * This symbol will be defined if the C compiler supports off64_t. |
1756 | */ |
1757 | /*#define HAS_OFF64_T /**/ |
1758 | |
3635cd84 |
1759 | /* HAS_OPEN3: |
1760 | * This manifest constant lets the C program know that the three |
1761 | * argument form of open(2) is available. |
82839a9d |
1762 | */ |
3635cd84 |
1763 | /*#define HAS_OPEN3 /**/ |
1764 | |
1765 | /* OLD_PTHREAD_CREATE_JOINABLE: |
1766 | * This symbol, if defined, indicates how to create pthread |
1767 | * in joinable (aka undetached) state. NOTE: not defined |
1768 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE |
1769 | * (the new version of the constant). |
1770 | * If defined, known values are PTHREAD_CREATE_UNDETACHED |
1771 | * and __UNDETACHED. |
82839a9d |
1772 | */ |
3635cd84 |
1773 | /*#define OLD_PTHREAD_CREATE_JOINABLE /**/ |
82839a9d |
1774 | |
3635cd84 |
1775 | /* HAS_PTHREAD_YIELD: |
1776 | * This symbol, if defined, indicates that the pthread_yield |
1777 | * routine is available to yield the execution of the current |
1778 | * thread. sched_yield is preferable to pthread_yield. |
1779 | */ |
1780 | /* SCHED_YIELD: |
1781 | * This symbol defines the way to yield the execution of |
1782 | * the current thread. Known ways are sched_yield, |
1783 | * pthread_yield, and pthread_yield with NULL. |
1784 | */ |
1785 | /* HAS_SCHED_YIELD: |
1786 | * This symbol, if defined, indicates that the sched_yield |
1787 | * routine is available to yield the execution of the current |
1788 | * thread. sched_yield is preferable to pthread_yield. |
82839a9d |
1789 | */ |
3635cd84 |
1790 | /*#define HAS_PTHREAD_YIELD /**/ |
1791 | #define SCHED_YIELD /**/ |
1792 | /*#define HAS_SCHED_YIELD /**/ |
82839a9d |
1793 | |
3635cd84 |
1794 | /* HAS_SAFE_BCOPY: |
1795 | * This symbol, if defined, indicates that the bcopy routine is available |
1796 | * to copy potentially overlapping memory blocks. Otherwise you should |
1797 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1798 | * own version. |
82839a9d |
1799 | */ |
3635cd84 |
1800 | /*#define HAS_SAFE_BCOPY /**/ |
1801 | |
1802 | /* HAS_SAFE_MEMCPY: |
1803 | * This symbol, if defined, indicates that the memcpy routine is available |
1804 | * to copy potentially overlapping memory blocks. Otherwise you should |
1805 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1806 | * own version. |
82839a9d |
1807 | */ |
3635cd84 |
1808 | /*#define HAS_SAFE_MEMCPY /**/ |
82839a9d |
1809 | |
3635cd84 |
1810 | /* HAS_SANE_MEMCMP: |
1811 | * This symbol, if defined, indicates that the memcmp routine is available |
1812 | * and can be used to compare relative magnitudes of chars with their high |
1813 | * bits set. If it is not defined, roll your own version. |
82839a9d |
1814 | */ |
3635cd84 |
1815 | #define HAS_SANE_MEMCMP /**/ |
1816 | |
1817 | /* HAS_SEM: |
1818 | * This symbol, if defined, indicates that the entire sem*(2) library is |
1819 | * supported. |
82839a9d |
1820 | */ |
3635cd84 |
1821 | /*#define HAS_SEM /**/ |
82839a9d |
1822 | |
3635cd84 |
1823 | /* HAS_SETGRENT: |
1824 | * This symbol, if defined, indicates that the setgrent routine is |
1825 | * available for initializing sequential access of the group database. |
82839a9d |
1826 | */ |
3635cd84 |
1827 | /*#define HAS_SETGRENT /**/ |
1828 | |
1829 | /* HAS_SETGROUPS: |
1830 | * This symbol, if defined, indicates that the setgroups() routine is |
1831 | * available to set the list of process groups. If unavailable, multiple |
1832 | * groups are probably not supported. |
82839a9d |
1833 | */ |
3635cd84 |
1834 | /*#define HAS_SETGROUPS /**/ |
82839a9d |
1835 | |
3635cd84 |
1836 | /* HAS_SETHOSTENT: |
1837 | * This symbol, if defined, indicates that the sethostent() routine is |
1838 | * available. |
82839a9d |
1839 | */ |
3635cd84 |
1840 | /*#define HAS_SETHOSTENT /**/ |
82839a9d |
1841 | |
3635cd84 |
1842 | /* HAS_SETNETENT: |
1843 | * This symbol, if defined, indicates that the setnetent() routine is |
1844 | * available. |
924b3ec4 |
1845 | */ |
3635cd84 |
1846 | /*#define HAS_SETNETENT /**/ |
924b3ec4 |
1847 | |
3635cd84 |
1848 | /* HAS_SETPROTOENT: |
1849 | * This symbol, if defined, indicates that the setprotoent() routine is |
1850 | * available. |
08aa1457 |
1851 | */ |
3635cd84 |
1852 | /*#define HAS_SETPROTOENT /**/ |
1853 | |
1854 | /* HAS_SETPWENT: |
1855 | * This symbol, if defined, indicates that the setpwent routine is |
1856 | * available for initializing sequential access of the passwd database. |
924b3ec4 |
1857 | */ |
3635cd84 |
1858 | /*#define HAS_SETPWENT /**/ |
924b3ec4 |
1859 | |
3635cd84 |
1860 | /* HAS_SETSERVENT: |
1861 | * This symbol, if defined, indicates that the setservent() routine is |
1862 | * available. |
e1f15930 |
1863 | */ |
3635cd84 |
1864 | /*#define HAS_SETSERVENT /**/ |
104f9d64 |
1865 | |
3635cd84 |
1866 | /* HAS_SETVBUF: |
1867 | * This symbol, if defined, indicates that the setvbuf routine is |
1868 | * available to change buffering on an open stdio stream. |
1869 | * to a line-buffered mode. |
08aa1457 |
1870 | */ |
3635cd84 |
1871 | #define HAS_SETVBUF /**/ |
0cd52aa3 |
1872 | |
3635cd84 |
1873 | /* USE_SFIO: |
1874 | * This symbol, if defined, indicates that sfio should |
1875 | * be used. |
327c3667 |
1876 | */ |
3635cd84 |
1877 | /*#define USE_SFIO /**/ |
327c3667 |
1878 | |
3635cd84 |
1879 | /* HAS_SHM: |
1880 | * This symbol, if defined, indicates that the entire shm*(2) library is |
1881 | * supported. |
0cd52aa3 |
1882 | */ |
3635cd84 |
1883 | /*#define HAS_SHM /**/ |
0cd52aa3 |
1884 | |
3635cd84 |
1885 | /* HAS_SIGACTION: |
1886 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
1887 | * is available. |
0cd52aa3 |
1888 | */ |
3635cd84 |
1889 | /*#define HAS_SIGACTION /**/ |
0cd52aa3 |
1890 | |
3635cd84 |
1891 | /* HAS_SIGSETJMP: |
1892 | * This variable indicates to the C program that the sigsetjmp() |
1893 | * routine is available to save the calling process's registers |
1894 | * and stack environment for later use by siglongjmp(), and |
1895 | * to optionally save the process's signal mask. See |
1896 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. |
0cd52aa3 |
1897 | */ |
3635cd84 |
1898 | /* Sigjmp_buf: |
1899 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
327c3667 |
1900 | */ |
3635cd84 |
1901 | /* Sigsetjmp: |
1902 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1903 | * traditional setjmp() if sigsetjmp isn't available. |
1904 | * See HAS_SIGSETJMP. |
0cd52aa3 |
1905 | */ |
3635cd84 |
1906 | /* Siglongjmp: |
1907 | * This macro is used in the same way as siglongjmp(), but will invoke |
1908 | * traditional longjmp() if siglongjmp isn't available. |
1909 | * See HAS_SIGSETJMP. |
327c3667 |
1910 | */ |
3635cd84 |
1911 | /*#define HAS_SIGSETJMP /**/ |
1912 | #ifdef HAS_SIGSETJMP |
1913 | #define Sigjmp_buf sigjmp_buf |
1914 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1915 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
1916 | #else |
1917 | #define Sigjmp_buf jmp_buf |
1918 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1919 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
1920 | #endif |
327c3667 |
1921 | |
3635cd84 |
1922 | /* HAS_SOCKET: |
1923 | * This symbol, if defined, indicates that the BSD socket interface is |
1924 | * supported. |
07ba5892 |
1925 | */ |
3635cd84 |
1926 | /* HAS_SOCKETPAIR: |
1927 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1928 | * supported. |
07ba5892 |
1929 | */ |
3635cd84 |
1930 | /* HAS_MSG_CTRUNC: |
1931 | * This symbol, if defined, indicates that the MSG_CTRUNC is supported. |
1932 | * Checking just with #ifdef might not be enough because this symbol |
1933 | * has been known to be an enum. |
07ba5892 |
1934 | */ |
3635cd84 |
1935 | /* HAS_MSG_DONTROUTE: |
1936 | * This symbol, if defined, indicates that the MSG_DONTROUTE is supported. |
1937 | * Checking just with #ifdef might not be enough because this symbol |
1938 | * has been known to be an enum. |
9423c6fc |
1939 | */ |
3635cd84 |
1940 | /* HAS_MSG_OOB: |
1941 | * This symbol, if defined, indicates that the MSG_OOB is supported. |
1942 | * Checking just with #ifdef might not be enough because this symbol |
1943 | * has been known to be an enum. |
9423c6fc |
1944 | */ |
3635cd84 |
1945 | /* HAS_MSG_PEEK: |
1946 | * This symbol, if defined, indicates that the MSG_PEEK is supported. |
1947 | * Checking just with #ifdef might not be enough because this symbol |
1948 | * has been known to be an enum. |
9423c6fc |
1949 | */ |
3635cd84 |
1950 | /* HAS_MSG_PROXY: |
1951 | * This symbol, if defined, indicates that the MSG_PROXY is supported. |
1952 | * Checking just with #ifdef might not be enough because this symbol |
1953 | * has been known to be an enum. |
e1f15930 |
1954 | */ |
3635cd84 |
1955 | /* HAS_SCM_RIGHTS: |
1956 | * This symbol, if defined, indicates that the SCM_RIGHTS is supported. |
1957 | * Checking just with #ifdef might not be enough because this symbol |
1958 | * has been known to be an enum. |
1959 | */ |
1960 | #define HAS_SOCKET /**/ |
1961 | /*#define HAS_SOCKETPAIR /**/ |
1962 | /*#define HAS_MSG_CTRUNC /**/ |
1963 | /*#define HAS_MSG_DONTROUTE /**/ |
1964 | /*#define HAS_MSG_OOB /**/ |
1965 | /*#define HAS_MSG_PEEK /**/ |
1966 | /*#define HAS_MSG_PROXY /**/ |
1967 | /*#define HAS_SCM_RIGHTS /**/ |
9423c6fc |
1968 | |
3635cd84 |
1969 | /* HAS_SQRTL: |
1970 | * This symbol, if defined, indicates that the sqrtl routine is |
1971 | * available to do long double square roots. |
07ba5892 |
1972 | */ |
3635cd84 |
1973 | /*#define HAS_SQRTL /**/ |
07ba5892 |
1974 | |
3635cd84 |
1975 | /* USE_STAT_BLOCKS: |
1976 | * This symbol is defined if this system has a stat structure declaring |
1977 | * st_blksize and st_blocks. |
07ba5892 |
1978 | */ |
3635cd84 |
1979 | #ifndef USE_STAT_BLOCKS |
1980 | /*#define USE_STAT_BLOCKS /**/ |
1981 | #endif |
07ba5892 |
1982 | |
3635cd84 |
1983 | /* HAS_STRUCT_STATFS_F_FLAGS: |
1984 | * This symbol, if defined, indicates that the struct statfs |
1985 | * does have the f_flags member containing the mount flags of |
1986 | * the filesystem containing the file. |
1987 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), |
1988 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not |
1989 | * have statfs() and struct statfs, they have ustat() and getmnt() |
1990 | * with struct ustat and struct fs_data. |
0cd52aa3 |
1991 | */ |
3635cd84 |
1992 | /*#define HAS_STRUCT_STATFS_F_FLAGS /**/ |
0cd52aa3 |
1993 | |
3635cd84 |
1994 | /* HAS_STRUCT_STATFS: |
1995 | * This symbol, if defined, indicates that the struct statfs |
1996 | * to do statfs() is supported. |
0cd52aa3 |
1997 | */ |
3635cd84 |
1998 | /*#define HAS_STRUCT_STATFS /**/ |
0cd52aa3 |
1999 | |
3635cd84 |
2000 | /* HAS_FSTATVFS: |
2001 | * This symbol, if defined, indicates that the fstatvfs routine is |
2002 | * available to stat filesystems by file descriptors. |
07ba5892 |
2003 | */ |
3635cd84 |
2004 | /*#define HAS_FSTATVFS /**/ |
52b0428e |
2005 | |
3635cd84 |
2006 | /* USE_STDIO_PTR: |
2007 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
2008 | * of the stdio FILE structure can be used to access the stdio buffer |
2009 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
2010 | * and FILE_cnt(fp) macros will also be defined and should be used |
2011 | * to access these fields. |
08aa1457 |
2012 | */ |
3635cd84 |
2013 | /* FILE_ptr: |
2014 | * This macro is used to access the _ptr field (or equivalent) of the |
2015 | * FILE structure pointed to by its argument. This macro will always be |
2016 | * defined if USE_STDIO_PTR is defined. |
9036c72f |
2017 | */ |
3635cd84 |
2018 | /* STDIO_PTR_LVALUE: |
2019 | * This symbol is defined if the FILE_ptr macro can be used as an |
2020 | * lvalue. |
be44fb0e |
2021 | */ |
3635cd84 |
2022 | /* FILE_cnt: |
2023 | * This macro is used to access the _cnt field (or equivalent) of the |
2024 | * FILE structure pointed to by its argument. This macro will always be |
2025 | * defined if USE_STDIO_PTR is defined. |
be44fb0e |
2026 | */ |
3635cd84 |
2027 | /* STDIO_CNT_LVALUE: |
2028 | * This symbol is defined if the FILE_cnt macro can be used as an |
2029 | * lvalue. |
08aa1457 |
2030 | */ |
3635cd84 |
2031 | #define USE_STDIO_PTR /**/ |
2032 | #ifdef USE_STDIO_PTR |
2033 | #define FILE_ptr(fp) ((fp)->_ptr) |
2034 | #define STDIO_PTR_LVALUE /**/ |
2035 | #define FILE_cnt(fp) ((fp)->_cnt) |
2036 | #define STDIO_CNT_LVALUE /**/ |
9036c72f |
2037 | #endif |
08aa1457 |
2038 | |
3635cd84 |
2039 | /* USE_STDIO_BASE: |
2040 | * This symbol is defined if the _base field (or similar) of the |
2041 | * stdio FILE structure can be used to access the stdio buffer for |
2042 | * a file handle. If this is defined, then the FILE_base(fp) macro |
2043 | * will also be defined and should be used to access this field. |
2044 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
2045 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
2046 | * will never be defined unless USE_STDIO_PTR is. |
82839a9d |
2047 | */ |
3635cd84 |
2048 | /* FILE_base: |
2049 | * This macro is used to access the _base field (or equivalent) of the |
2050 | * FILE structure pointed to by its argument. This macro will always be |
2051 | * defined if USE_STDIO_BASE is defined. |
9423c6fc |
2052 | */ |
3635cd84 |
2053 | /* FILE_bufsiz: |
2054 | * This macro is used to determine the number of bytes in the I/O |
2055 | * buffer pointed to by _base field (or equivalent) of the FILE |
2056 | * structure pointed to its argument. This macro will always be defined |
2057 | * if USE_STDIO_BASE is defined. |
bbda9c9d |
2058 | */ |
3635cd84 |
2059 | #define USE_STDIO_BASE /**/ |
2060 | #ifdef USE_STDIO_BASE |
2061 | #define FILE_base(fp) ((fp)->_base) |
2062 | #define FILE_bufsiz(fp) ((fp)->_cnt + (fp)->_ptr - (fp)->_base) |
2063 | #endif |
bbda9c9d |
2064 | |
3635cd84 |
2065 | /* HAS_STRERROR: |
2066 | * This symbol, if defined, indicates that the strerror routine is |
2067 | * available to translate error numbers to strings. See the writeup |
2068 | * of Strerror() in this file before you try to define your own. |
e8ee3774 |
2069 | */ |
3635cd84 |
2070 | /* HAS_SYS_ERRLIST: |
2071 | * This symbol, if defined, indicates that the sys_errlist array is |
2072 | * available to translate error numbers to strings. The extern int |
2073 | * sys_nerr gives the size of that table. |
82839a9d |
2074 | */ |
3635cd84 |
2075 | /* Strerror: |
2076 | * This preprocessor symbol is defined as a macro if strerror() is |
2077 | * not available to translate error numbers to strings but sys_errlist[] |
2078 | * array is there. |
924b3ec4 |
2079 | */ |
3635cd84 |
2080 | #define HAS_STRERROR /**/ |
2081 | #define HAS_SYS_ERRLIST /**/ |
2082 | #define Strerror(e) strerror(e) |
924b3ec4 |
2083 | |
3635cd84 |
2084 | /* HAS_STRTOLD: |
2085 | * This symbol, if defined, indicates that the strtold routine is |
2086 | * available to convert strings to long doubles. |
c4d53692 |
2087 | */ |
3635cd84 |
2088 | /*#define HAS_STRTOLD /**/ |
52b0428e |
2089 | |
3635cd84 |
2090 | /* HAS_STRTOLL: |
2091 | * This symbol, if defined, indicates that the strtoll routine is |
2092 | * available to convert strings to long longs. |
c4d53692 |
2093 | */ |
3635cd84 |
2094 | /*#define HAS_STRTOLL /**/ |
52b0428e |
2095 | |
3635cd84 |
2096 | /* HAS_STRTOULL: |
2097 | * This symbol, if defined, indicates that the strtoull routine is |
2098 | * available to convert strings to unsigned long longs. |
52b0428e |
2099 | */ |
3635cd84 |
2100 | /*#define HAS_STRTOULL /**/ |
c4d53692 |
2101 | |
3635cd84 |
2102 | /* HAS_STRTOUQ: |
2103 | * This symbol, if defined, indicates that the strtouq routine is |
2104 | * available to convert strings to unsigned long longs (quads). |
c4d53692 |
2105 | */ |
3635cd84 |
2106 | /*#define HAS_STRTOUQ /**/ |
c4d53692 |
2107 | |
2108 | /* HAS_TELLDIR_PROTO: |
2109 | * This symbol, if defined, indicates that the system provides |
2110 | * a prototype for the telldir() function. Otherwise, it is up |
2111 | * to the program to supply one. A good guess is |
82839a9d |
2112 | * extern long telldir _((DIR*)); |
c4d53692 |
2113 | */ |
2114 | #define HAS_TELLDIR_PROTO /**/ |
2115 | |
3635cd84 |
2116 | /* Time_t: |
2117 | * This symbol holds the type returned by time(). It can be long, |
2118 | * or time_t on BSD sites (in which case <sys/types.h> should be |
2119 | * included). |
2120 | */ |
2121 | #define Time_t time_t /* Time type */ |
2122 | |
2123 | /* HAS_TIMES: |
2124 | * This symbol, if defined, indicates that the times() routine exists. |
2125 | * Note that this became obsolete on some systems (SUNOS), which now |
2126 | * use getrusage(). It may be necessary to include <sys/times.h>. |
2127 | */ |
2128 | #define HAS_TIMES /**/ |
2129 | |
2130 | /* HAS_UNION_SEMUN: |
2131 | * This symbol, if defined, indicates that the union semun is |
2132 | * defined by including <sys/sem.h>. If not, the user code |
2133 | * probably needs to define it as: |
2134 | * union semun { |
2135 | * int val; |
2136 | * struct semid_ds *buf; |
2137 | * unsigned short *array; |
2138 | * } |
2139 | */ |
2140 | /* USE_SEMCTL_SEMUN: |
2141 | * This symbol, if defined, indicates that union semun is |
2142 | * used for semctl IPC_STAT. |
2143 | */ |
2144 | /* USE_SEMCTL_SEMID_DS: |
2145 | * This symbol, if defined, indicates that struct semid_ds * is |
2146 | * used for semctl IPC_STAT. |
2147 | */ |
2148 | #define HAS_UNION_SEMUN /**/ |
2149 | /*#define USE_SEMCTL_SEMUN /**/ |
2150 | /*#define USE_SEMCTL_SEMID_DS /**/ |
2151 | |
52b0428e |
2152 | /* HAS_USTAT: |
2153 | * This symbol, if defined, indicates that the ustat system call is |
2154 | * available to query file system statistics by dev_t. |
2155 | */ |
2156 | /*#define HAS_USTAT /**/ |
2157 | |
3635cd84 |
2158 | /* HAS_VFORK: |
2159 | * This symbol, if defined, indicates that vfork() exists. |
2160 | */ |
2161 | /*#define HAS_VFORK /**/ |
2162 | |
2163 | /* Signal_t: |
2164 | * This symbol's value is either "void" or "int", corresponding to the |
2165 | * appropriate return type of a signal handler. Thus, you can declare |
2166 | * a signal handler using "Signal_t (*handler)()", and define the |
2167 | * handler using "Signal_t handler(sig)". |
2168 | */ |
2169 | #define Signal_t void /* Signal handler's return type */ |
2170 | |
2171 | /* HAS_VPRINTF: |
2172 | * This symbol, if defined, indicates that the vprintf routine is available |
2173 | * to printf with a pointer to an argument list. If unavailable, you |
2174 | * may need to write your own, probably in terms of _doprnt(). |
2175 | */ |
2176 | /* USE_CHAR_VSPRINTF: |
2177 | * This symbol is defined if this system has vsprintf() returning type |
2178 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
2179 | * is up to the package author to declare vsprintf correctly based on the |
2180 | * symbol. |
2181 | */ |
2182 | #define HAS_VPRINTF /**/ |
2183 | /*#define USE_CHAR_VSPRINTF /**/ |
2184 | |
924b3ec4 |
2185 | /* USE_DYNAMIC_LOADING: |
2186 | * This symbol, if defined, indicates that dynamic loading of |
2187 | * some sort is available. |
2188 | */ |
2189 | #define USE_DYNAMIC_LOADING /**/ |
2190 | |
3635cd84 |
2191 | /* DOUBLESIZE: |
2192 | * This symbol contains the size of a double, so that the C preprocessor |
2193 | * can make decisions based on it. |
2194 | */ |
2195 | #define DOUBLESIZE 8 /**/ |
2196 | |
2197 | /* EBCDIC: |
2198 | * This symbol, if defined, indicates that this system uses |
2199 | * EBCDIC encoding. |
2200 | */ |
2201 | /*#define EBCDIC /**/ |
2202 | |
9423c6fc |
2203 | /* FFLUSH_NULL: |
2204 | * This symbol, if defined, tells that fflush(NULL) does flush |
2205 | * all pending stdio output. |
2206 | */ |
2207 | /* FFLUSH_ALL: |
2208 | * This symbol, if defined, tells that to flush |
2209 | * all pending stdio output one must loop through all |
2210 | * the stdio file handles stored in an array and fflush them. |
2211 | * Note that if fflushNULL is defined, fflushall will not |
2212 | * even be probed for and will be left undefined. |
2213 | */ |
2214 | #define FFLUSH_NULL /**/ |
2215 | /*#define FFLUSH_ALL /**/ |
2216 | |
3635cd84 |
2217 | /* Fpos_t: |
2218 | * This symbol holds the type used to declare file positions in libc. |
2219 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
2220 | * <sys/types.h> to get any typedef'ed information. |
2221 | */ |
2222 | #define Fpos_t fpos_t /* File position type */ |
2223 | |
2224 | /* Gid_t_f: |
2225 | * This symbol defines the format string used for printing a Gid_t. |
2226 | */ |
2227 | #define Gid_t_f "ld" /**/ |
2228 | |
23dcd6c8 |
2229 | /* Gid_t_sign: |
2230 | * This symbol holds the signedess of a Gid_t. |
2231 | * 1 for unsigned, -1 for signed. |
2232 | */ |
2233 | #define Gid_t_sign -1 /* GID sign */ |
2234 | |
3635cd84 |
2235 | /* Gid_t_size: |
2236 | * This symbol holds the size of a Gid_t in bytes. |
2237 | */ |
2238 | #define Gid_t_size 4 /* GID size */ |
2239 | |
2240 | /* Gid_t: |
2241 | * This symbol holds the return type of getgid() and the type of |
2242 | * argument to setrgid() and related functions. Typically, |
2243 | * it is the type of group ids in the kernel. It can be int, ushort, |
23dcd6c8 |
2244 | * gid_t, etc... It may be necessary to include <sys/types.h> to get |
3635cd84 |
2245 | * any typedef'ed information. |
2246 | */ |
2247 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2248 | |
2249 | /* Groups_t: |
2250 | * This symbol holds the type used for the second argument to |
23dcd6c8 |
2251 | * getgroups() and setgroups(). Usually, this is the same as |
3635cd84 |
2252 | * gidtype (gid_t) , but sometimes it isn't. |
23dcd6c8 |
2253 | * It can be int, ushort, gid_t, etc... |
3635cd84 |
2254 | * It may be necessary to include <sys/types.h> to get any |
2255 | * typedef'ed information. This is only required if you have |
6e78e524 |
2256 | * getgroups() or setgroups().. |
3635cd84 |
2257 | */ |
2258 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
2259 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
2260 | #endif |
2261 | |
924b3ec4 |
2262 | /* DB_Prefix_t: |
2263 | * This symbol contains the type of the prefix structure element |
2264 | * in the <db.h> header file. In older versions of DB, it was |
2265 | * int, while in newer ones it is u_int32_t. |
2266 | */ |
2267 | /* DB_Hash_t: |
2268 | * This symbol contains the type of the prefix structure element |
2269 | * in the <db.h> header file. In older versions of DB, it was |
2270 | * int, while in newer ones it is size_t. |
2271 | */ |
2272 | #define DB_Hash_t int /**/ |
2273 | #define DB_Prefix_t int /**/ |
2274 | |
3635cd84 |
2275 | /* I_GRP: |
2276 | * This symbol, if defined, indicates to the C program that it should |
2277 | * include <grp.h>. |
2278 | */ |
2279 | /* GRPASSWD: |
2280 | * This symbol, if defined, indicates to the C program that struct group |
2281 | * in <grp.h> contains gr_passwd. |
2282 | */ |
2283 | /*#define I_GRP /**/ |
2284 | /*#define GRPASSWD /**/ |
2285 | |
ac135a7c |
2286 | /* I_ICONV: |
2287 | * This symbol, if defined, indicates that <iconv.h> exists and |
2288 | * should be included. |
2289 | */ |
2290 | /*#define I_ICONV /**/ |
2291 | |
2fcfac58 |
2292 | /* I_IEEEFP: |
2293 | * This symbol, if defined, indicates that <ieeefp.h> exists and |
2294 | * should be included. |
2295 | */ |
2296 | /*#define I_IEEEFP /**/ |
2297 | |
327c3667 |
2298 | /* I_INTTYPES: |
2299 | * This symbol, if defined, indicates to the C program that it should |
2300 | * include <inttypes.h>. |
2301 | */ |
327c3667 |
2302 | /*#define I_INTTYPES /**/ |
327c3667 |
2303 | |
3635cd84 |
2304 | /* I_MACH_CTHREADS: |
2305 | * This symbol, if defined, indicates to the C program that it should |
2306 | * include <mach/cthreads.h>. |
2307 | */ |
2308 | /*#define I_MACH_CTHREADS /**/ |
2309 | |
c4d53692 |
2310 | /* I_MNTENT: |
2311 | * This symbol, if defined, indicates that <mntent.h> exists and |
2312 | * should be included. |
2313 | */ |
2314 | /*#define I_MNTENT /**/ |
2315 | |
3635cd84 |
2316 | /* I_NETDB: |
2317 | * This symbol, if defined, indicates that <netdb.h> exists and |
2318 | * should be included. |
2319 | */ |
2320 | /*#define I_NETDB /**/ |
2321 | |
9423c6fc |
2322 | /* I_NETINET_TCP: |
2323 | * This symbol, if defined, indicates to the C program that it should |
2324 | * include <netinet/tcp.h>. |
2325 | */ |
2326 | /*#define I_NETINET_TCP /**/ |
2327 | |
c4d53692 |
2328 | /* I_POLL: |
2329 | * This symbol, if defined, indicates that <poll.h> exists and |
2330 | * should be included. |
2331 | */ |
2332 | /*#define I_POLL /**/ |
2333 | |
3635cd84 |
2334 | /* I_PTHREAD: |
2335 | * This symbol, if defined, indicates to the C program that it should |
2336 | * include <pthread.h>. |
2337 | */ |
2338 | /*#define I_PTHREAD /**/ |
2339 | |
2340 | /* I_PWD: |
2341 | * This symbol, if defined, indicates to the C program that it should |
2342 | * include <pwd.h>. |
2343 | */ |
2344 | /* PWQUOTA: |
2345 | * This symbol, if defined, indicates to the C program that struct passwd |
2346 | * contains pw_quota. |
2347 | */ |
2348 | /* PWAGE: |
2349 | * This symbol, if defined, indicates to the C program that struct passwd |
2350 | * contains pw_age. |
2351 | */ |
2352 | /* PWCHANGE: |
2353 | * This symbol, if defined, indicates to the C program that struct passwd |
2354 | * contains pw_change. |
2355 | */ |
2356 | /* PWCLASS: |
2357 | * This symbol, if defined, indicates to the C program that struct passwd |
2358 | * contains pw_class. |
2359 | */ |
2360 | /* PWEXPIRE: |
2361 | * This symbol, if defined, indicates to the C program that struct passwd |
2362 | * contains pw_expire. |
2363 | */ |
2364 | /* PWCOMMENT: |
2365 | * This symbol, if defined, indicates to the C program that struct passwd |
2366 | * contains pw_comment. |
2367 | */ |
2368 | /* PWGECOS: |
2369 | * This symbol, if defined, indicates to the C program that struct passwd |
2370 | * contains pw_gecos. |
2371 | */ |
2372 | /* PWPASSWD: |
2373 | * This symbol, if defined, indicates to the C program that struct passwd |
2374 | * contains pw_passwd. |
2375 | */ |
2376 | /*#define I_PWD /**/ |
2377 | /*#define PWQUOTA /**/ |
2378 | /*#define PWAGE /**/ |
2379 | /*#define PWCHANGE /**/ |
2380 | /*#define PWCLASS /**/ |
2381 | /*#define PWEXPIRE /**/ |
2382 | /*#define PWCOMMENT /**/ |
2383 | /*#define PWGECOS /**/ |
2384 | /*#define PWPASSWD /**/ |
2385 | |
82839a9d |
2386 | /* I_SHADOW: |
2387 | * This symbol, if defined, indicates that <shadow.h> exists and |
2388 | * should be included. |
2389 | */ |
2390 | /*#define I_SHADOW /**/ |
2391 | |
2392 | /* I_SOCKS: |
2393 | * This symbol, if defined, indicates that <socks.h> exists and |
2394 | * should be included. |
2395 | */ |
2396 | /*#define I_SOCKS /**/ |
2397 | |
ac135a7c |
2398 | /* I_SUNMATH: |
2399 | * This symbol, if defined, indicates that <sunmath.h> exists and |
2400 | * should be included. |
2401 | */ |
2402 | /*#define I_SUNMATH /**/ |
2403 | |
2404 | /* I_SYSLOG: |
2405 | * This symbol, if defined, indicates that <syslog.h> exists and |
2406 | * should be included. |
2407 | */ |
2408 | /*#define I_SYSLOG /**/ |
2409 | |
2410 | /* I_SYSMODE: |
2411 | * This symbol, if defined, indicates that <sys/mode.h> exists and |
2412 | * should be included. |
2413 | */ |
2414 | /*#define I_SYSMODE /**/ |
2415 | |
c4d53692 |
2416 | /* I_SYS_MOUNT: |
2417 | * This symbol, if defined, indicates that <sys/mount.h> exists and |
2418 | * should be included. |
2419 | */ |
2420 | /*#define I_SYS_MOUNT /**/ |
2421 | |
52b0428e |
2422 | /* I_SYS_STATFS: |
2423 | * This symbol, if defined, indicates that <sys/statfs.h> exists. |
2424 | */ |
2425 | /*#define I_SYS_STATFS /**/ |
2426 | |
c4d53692 |
2427 | /* I_SYS_STATVFS: |
2428 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and |
2429 | * should be included. |
2430 | */ |
2431 | /*#define I_SYS_STATVFS /**/ |
2432 | |
3635cd84 |
2433 | /* I_SYSUIO: |
2434 | * This symbol, if defined, indicates that <sys/uio.h> exists and |
2435 | * should be included. |
2436 | */ |
2437 | /*#define I_SYSUIO /**/ |
2438 | |
ac135a7c |
2439 | /* I_SYSUTSNAME: |
2440 | * This symbol, if defined, indicates that <sys/utsname.h> exists and |
2441 | * should be included. |
2442 | */ |
2443 | /*#define I_SYSUTSNAME /**/ |
2444 | |
52b0428e |
2445 | /* I_SYS_VFS: |
2446 | * This symbol, if defined, indicates that <sys/vfs.h> exists and |
2447 | * should be included. |
2448 | */ |
2449 | /*#define I_SYS_VFS /**/ |
2450 | |
3635cd84 |
2451 | /* I_TIME: |
2452 | * This symbol, if defined, indicates to the C program that it should |
2453 | * include <time.h>. |
2454 | */ |
2455 | /* I_SYS_TIME: |
2456 | * This symbol, if defined, indicates to the C program that it should |
2457 | * include <sys/time.h>. |
2458 | */ |
2459 | /* I_SYS_TIME_KERNEL: |
2460 | * This symbol, if defined, indicates to the C program that it should |
2461 | * include <sys/time.h> with KERNEL defined. |
2462 | */ |
2463 | #define I_TIME /**/ |
2464 | /*#define I_SYS_TIME /**/ |
2465 | /*#define I_SYS_TIME_KERNEL /**/ |
2466 | |
52b0428e |
2467 | /* I_USTAT: |
2468 | * This symbol, if defined, indicates that <ustat.h> exists and |
2469 | * should be included. |
2470 | */ |
2471 | /*#define I_USTAT /**/ |
2472 | |
3635cd84 |
2473 | /* PERL_INC_VERSION_LIST: |
2474 | * This variable specifies the list of subdirectories in over |
2475 | * which perl.c:incpush() and lib/lib.pm will automatically |
2476 | * search when adding directories to @INC, in a format suitable |
2477 | * for a C initialization string. See the inc_version_list entry |
2478 | * in Porting/Glossary for more details. |
2479 | */ |
ac135a7c |
2480 | #define PERL_INC_VERSION_LIST 0 /**/ |
3635cd84 |
2481 | |
ac135a7c |
2482 | /* INSTALL_USR_BIN_PERL: |
2483 | * This symbol, if defined, indicates that Perl is to be installed |
2484 | * also as /usr/bin/perl. |
327c3667 |
2485 | */ |
ac135a7c |
2486 | /*#define INSTALL_USR_BIN_PERL /**/ |
e8ee3774 |
2487 | |
2488 | /* PERL_PRIfldbl: |
2489 | * This symbol, if defined, contains the string used by stdio to |
2490 | * format long doubles (format 'f') for output. |
327c3667 |
2491 | */ |
e8ee3774 |
2492 | /* PERL_PRIgldbl: |
2493 | * This symbol, if defined, contains the string used by stdio to |
2494 | * format long doubles (format 'g') for output. |
327c3667 |
2495 | */ |
e1f15930 |
2496 | /*#define PERL_PRIfldbl "f" /**/ |
2497 | /*#define PERL_PRIgldbl "g" /**/ |
e8ee3774 |
2498 | |
3635cd84 |
2499 | /* Off_t: |
2500 | * This symbol holds the type used to declare offsets in the kernel. |
2501 | * It can be int, long, off_t, etc... It may be necessary to include |
2502 | * <sys/types.h> to get any typedef'ed information. |
2503 | */ |
2504 | /* LSEEKSIZE: |
2505 | * This symbol holds the number of bytes used by the Off_t. |
2506 | */ |
2507 | /* Off_t_size: |
2508 | * This symbol holds the number of bytes used by the Off_t. |
2509 | */ |
2510 | #define Off_t off_t /* <offset> type */ |
2511 | #define LSEEKSIZE 4 /* <offset> size */ |
2512 | #define Off_t_size 4 /* <offset> size */ |
2513 | |
2514 | /* Free_t: |
2515 | * This variable contains the return type of free(). It is usually |
2516 | * void, but occasionally int. |
2517 | */ |
2518 | /* Malloc_t: |
2519 | * This symbol is the type of pointer returned by malloc and realloc. |
2520 | */ |
2521 | #define Malloc_t void * /**/ |
2522 | #define Free_t void /**/ |
2523 | |
2524 | /* MYMALLOC: |
2525 | * This symbol, if defined, indicates that we're using our own malloc. |
2526 | */ |
2527 | /*#define MYMALLOC /**/ |
2528 | |
2529 | /* Mode_t: |
2530 | * This symbol holds the type used to declare file modes |
2531 | * for systems calls. It is usually mode_t, but may be |
2532 | * int or unsigned short. It may be necessary to include <sys/types.h> |
2533 | * to get any typedef'ed information. |
2534 | */ |
2535 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2536 | |
2537 | /* VAL_O_NONBLOCK: |
2538 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
2539 | * non-blocking I/O for the file descriptor. Note that there is no way |
2540 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
2541 | * alternatively switch between blocking and non-blocking, use the |
2542 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
2543 | */ |
2544 | /* VAL_EAGAIN: |
2545 | * This symbol holds the errno error code set by read() when no data was |
2546 | * present on the non-blocking file descriptor. |
2547 | */ |
2548 | /* RD_NODATA: |
2549 | * This symbol holds the return code from read() when no data is present |
2550 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
2551 | * not defined, then you can't distinguish between no data and EOF by |
2552 | * issuing a read(). You'll have to find another way to tell for sure! |
2553 | */ |
2554 | /* EOF_NONBLOCK: |
2555 | * This symbol, if defined, indicates to the C program that a read() on |
2556 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
2557 | * held in RD_NODATA (-1 usually, in that case!). |
2558 | */ |
2559 | #define VAL_O_NONBLOCK O_NONBLOCK |
2560 | #define VAL_EAGAIN EAGAIN |
2561 | #define RD_NODATA -1 |
2562 | #define EOF_NONBLOCK |
2563 | |
2564 | /* Netdb_host_t: |
2565 | * This symbol holds the type used for the 1st argument |
2566 | * to gethostbyaddr(). |
2567 | */ |
2568 | /* Netdb_hlen_t: |
2569 | * This symbol holds the type used for the 2nd argument |
2570 | * to gethostbyaddr(). |
2571 | */ |
2572 | /* Netdb_name_t: |
2573 | * This symbol holds the type used for the argument to |
2574 | * gethostbyname(). |
2575 | */ |
2576 | /* Netdb_net_t: |
2577 | * This symbol holds the type used for the 1st argument to |
2578 | * getnetbyaddr(). |
2579 | */ |
2580 | #define Netdb_host_t char * /**/ |
2581 | #define Netdb_hlen_t int /**/ |
2582 | #define Netdb_name_t char * /**/ |
2583 | #define Netdb_net_t long /**/ |
2584 | |
539a3d6c |
2585 | /* IVTYPE: |
2586 | * This symbol defines the C type used for Perl's IV. |
327c3667 |
2587 | */ |
539a3d6c |
2588 | /* UVTYPE: |
2589 | * This symbol defines the C type used for Perl's UV. |
327c3667 |
2590 | */ |
539a3d6c |
2591 | /* I8TYPE: |
2592 | * This symbol defines the C type used for Perl's I8. |
327c3667 |
2593 | */ |
539a3d6c |
2594 | /* U8TYPE: |
2595 | * This symbol defines the C type used for Perl's U8. |
2596 | */ |
2597 | /* I16TYPE: |
2598 | * This symbol defines the C type used for Perl's I16. |
2599 | */ |
2600 | /* U16TYPE: |
2601 | * This symbol defines the C type used for Perl's U16. |
2602 | */ |
2603 | /* I32TYPE: |
2604 | * This symbol defines the C type used for Perl's I32. |
2605 | */ |
2606 | /* U32TYPE: |
2607 | * This symbol defines the C type used for Perl's U32. |
2608 | */ |
2609 | /* I64TYPE: |
2610 | * This symbol defines the C type used for Perl's I64. |
2611 | */ |
2612 | /* U64TYPE: |
2613 | * This symbol defines the C type used for Perl's U64. |
2614 | */ |
2615 | /* NVTYPE: |
2616 | * This symbol defines the C type used for Perl's NV. |
2617 | */ |
2618 | /* IVSIZE: |
2619 | * This symbol contains the sizeof(IV). |
2620 | */ |
2621 | /* UVSIZE: |
2622 | * This symbol contains the sizeof(UV). |
2623 | */ |
2624 | /* I8SIZE: |
2625 | * This symbol contains the sizeof(I8). |
2626 | */ |
2627 | /* U8SIZE: |
2628 | * This symbol contains the sizeof(U8). |
2629 | */ |
2630 | /* I16SIZE: |
2631 | * This symbol contains the sizeof(I16). |
2632 | */ |
2633 | /* U16SIZE: |
2634 | * This symbol contains the sizeof(U16). |
2635 | */ |
2636 | /* I32SIZE: |
2637 | * This symbol contains the sizeof(I32). |
2638 | */ |
2639 | /* U32SIZE: |
2640 | * This symbol contains the sizeof(U32). |
327c3667 |
2641 | */ |
539a3d6c |
2642 | /* I64SIZE: |
2643 | * This symbol contains the sizeof(I64). |
2644 | */ |
2645 | /* U64SIZE: |
2646 | * This symbol contains the sizeof(U64). |
2647 | */ |
ac135a7c |
2648 | /* NV_PRESERVES_UV: |
2649 | * This symbol, if defined, indicates that a variable of type NVTYPE |
2650 | * can preserve all the bit of a variable of type UVSIZE. |
2651 | */ |
539a3d6c |
2652 | #define IVTYPE long /**/ |
2653 | #define UVTYPE unsigned long /**/ |
2654 | #define I8TYPE char /**/ |
2655 | #define U8TYPE unsigned char /**/ |
2656 | #define I16TYPE short /**/ |
2657 | #define U16TYPE unsigned short /**/ |
2658 | #define I32TYPE long /**/ |
2659 | #define U32TYPE unsigned long /**/ |
2660 | #ifdef HAS_QUAD |
2661 | #define I64TYPE __int64 /**/ |
2662 | #define U64TYPE unsigned __int64 /**/ |
2663 | #endif |
2664 | #define NVTYPE double /**/ |
2665 | #define IVSIZE 4 /**/ |
2666 | #define UVSIZE 4 /**/ |
2667 | #define I8SIZE 1 /**/ |
2668 | #define U8SIZE 1 /**/ |
2669 | #define I16SIZE 2 /**/ |
2670 | #define U16SIZE 2 /**/ |
2671 | #define I32SIZE 4 /**/ |
2672 | #define U32SIZE 4 /**/ |
2673 | #ifdef HAS_QUAD |
2674 | #define I64SIZE 8 /**/ |
2675 | #define U64SIZE 8 /**/ |
2676 | #endif |
ac135a7c |
2677 | #define NV_PRESERVES_UV |
539a3d6c |
2678 | |
2679 | /* IVdf: |
2680 | * This symbol defines the format string used for printing a Perl IV |
2681 | * as a signed decimal integer. |
2682 | */ |
2683 | /* UVuf: |
2684 | * This symbol defines the format string used for printing a Perl UV |
2685 | * as an unsigned decimal integer. |
2686 | */ |
2687 | /* UVof: |
2688 | * This symbol defines the format string used for printing a Perl UV |
2689 | * as an unsigned octal integer. |
2690 | */ |
2691 | /* UVxf: |
2692 | * This symbol defines the format string used for printing a Perl UV |
2693 | * as an unsigned hexadecimal integer. |
2694 | */ |
2695 | #define IVdf "ld" /**/ |
2696 | #define UVuf "lu" /**/ |
2697 | #define UVof "lo" /**/ |
2698 | #define UVxf "lx" /**/ |
327c3667 |
2699 | |
3635cd84 |
2700 | /* Pid_t: |
2701 | * This symbol holds the type used to declare process ids in the kernel. |
2702 | * It can be int, uint, pid_t, etc... It may be necessary to include |
2703 | * <sys/types.h> to get any typedef'ed information. |
2704 | */ |
2705 | #define Pid_t int /* PID type */ |
2706 | |
2707 | /* PRIVLIB: |
2708 | * This symbol contains the name of the private library for this package. |
2709 | * The library is private in the sense that it needn't be in anyone's |
2710 | * execution path, but it should be accessible by the world. The program |
2711 | * should be prepared to do ~ expansion. |
2712 | */ |
2713 | /* PRIVLIB_EXP: |
2714 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
2715 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2716 | */ |
e5a4bac5 |
2717 | #define PRIVLIB "c:\\perl\\5.6.0\\lib" /**/ |
2718 | #define PRIVLIB_EXP (win32_get_privlib("5.6.0")) /**/ |
3635cd84 |
2719 | |
2720 | /* PTRSIZE: |
2721 | * This symbol contains the size of a pointer, so that the C preprocessor |
2722 | * can make decisions based on it. It will be sizeof(void *) if |
2723 | * the compiler supports (void *); otherwise it will be |
2724 | * sizeof(char *). |
2725 | */ |
2726 | #define PTRSIZE 4 /**/ |
2727 | |
2728 | /* Drand01: |
2729 | * This macro is to be used to generate uniformly distributed |
2730 | * random numbers over the range [0., 1.[. You may have to supply |
2731 | * an 'extern double drand48();' in your program since SunOS 4.1.3 |
2732 | * doesn't provide you with anything relevant in it's headers. |
2733 | * See HAS_DRAND48_PROTO. |
2734 | */ |
2735 | /* Rand_seed_t: |
2736 | * This symbol defines the type of the argument of the |
2737 | * random seed function. |
2738 | */ |
2739 | /* seedDrand01: |
2740 | * This symbol defines the macro to be used in seeding the |
2741 | * random number generator (see Drand01). |
2742 | */ |
2743 | /* RANDBITS: |
2744 | * This symbol indicates how many bits are produced by the |
2745 | * function used to generate normalized random numbers. |
2746 | * Values include 15, 16, 31, and 48. |
2747 | */ |
2748 | #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/ |
2749 | #define Rand_seed_t unsigned /**/ |
2750 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ |
2751 | #define RANDBITS 15 /**/ |
2752 | |
327c3667 |
2753 | /* SELECT_MIN_BITS: |
2754 | * This symbol holds the minimum number of bits operated by select. |
2755 | * That is, if you do select(n, ...), how many bits at least will be |
2756 | * cleared in the masks if some activity is detected. Usually this |
2757 | * is either n or 32*ceil(n/32), especially many little-endians do |
2758 | * the latter. This is only useful if you have select(), naturally. |
2759 | */ |
3635cd84 |
2760 | #define SELECT_MIN_BITS 32 /**/ |
2761 | |
2762 | /* Select_fd_set_t: |
2763 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
2764 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
2765 | * is defined, and 'int *' otherwise. This is only useful if you |
2766 | * have select(), of course. |
2767 | */ |
2768 | #define Select_fd_set_t Perl_fd_set * /**/ |
2769 | |
2770 | /* SIG_NAME: |
2771 | * This symbol contains a list of signal names in order of |
2772 | * signal number. This is intended |
2773 | * to be used as a static array initialization, like this: |
2774 | * char *sig_name[] = { SIG_NAME }; |
2775 | * The signals in the list are separated with commas, and each signal |
2776 | * is surrounded by double quotes. There is no leading SIG in the signal |
2777 | * name, i.e. SIGQUIT is known as "QUIT". |
2778 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
2779 | * etc., where nn is the actual signal number (e.g. NUM37). |
2780 | * The signal number for sig_name[i] is stored in sig_num[i]. |
2781 | * The last element is 0 to terminate the list with a NULL. This |
2782 | * corresponds to the 0 at the end of the sig_num list. |
2783 | */ |
2784 | /* SIG_NUM: |
2785 | * This symbol contains a list of signal numbers, in the same order as the |
2786 | * SIG_NAME list. It is suitable for static array initialization, as in: |
2787 | * int sig_num[] = { SIG_NUM }; |
2788 | * The signals in the list are separated with commas, and the indices |
2789 | * within that list and the SIG_NAME list match, so it's easy to compute |
2790 | * the signal name from a number or vice versa at the price of a small |
2791 | * dynamic linear lookup. |
2792 | * Duplicates are allowed, but are moved to the end of the list. |
2793 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
2794 | * if (i < NSIG) then sig_number[i] == i. |
2795 | * The last element is 0, corresponding to the 0 at the end of |
2796 | * the sig_name list. |
2797 | */ |
2798 | #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ |
2799 | #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, 20, 0 /**/ |
2800 | |
2801 | /* SITEARCH: |
2802 | * This symbol contains the name of the private library for this package. |
2803 | * The library is private in the sense that it needn't be in anyone's |
2804 | * execution path, but it should be accessible by the world. The program |
2805 | * should be prepared to do ~ expansion. |
2806 | * The standard distribution will put nothing in this directory. |
2807 | * After perl has been installed, users may install their own local |
2808 | * architecture-dependent modules in this directory with |
2809 | * MakeMaker Makefile.PL |
2810 | * or equivalent. See INSTALL for details. |
2811 | */ |
2812 | /* SITEARCH_EXP: |
2813 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
2814 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2815 | */ |
e5a4bac5 |
2816 | #define SITEARCH "c:\\perl\\site\\5.6.0\\lib\\MSWin32-x86" /**/ |
3635cd84 |
2817 | /*#define SITEARCH_EXP "" /**/ |
2818 | |
2819 | /* SITELIB: |
2820 | * This symbol contains the name of the private library for this package. |
2821 | * The library is private in the sense that it needn't be in anyone's |
2822 | * execution path, but it should be accessible by the world. The program |
2823 | * should be prepared to do ~ expansion. |
2824 | * The standard distribution will put nothing in this directory. |
2825 | * After perl has been installed, users may install their own local |
2826 | * architecture-independent modules in this directory with |
2827 | * MakeMaker Makefile.PL |
2828 | * or equivalent. See INSTALL for details. |
2829 | */ |
2830 | /* SITELIB_EXP: |
2831 | * This symbol contains the ~name expanded version of SITELIB, to be used |
2832 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2833 | */ |
4ea817c6 |
2834 | /* SITELIB_STEM: |
2835 | * This define is SITELIB_EXP with any trailing version-specific component |
2836 | * removed. The elements in inc_version_list (inc_version_list.U) can |
2837 | * be tacked onto this variable to generate a list of directories to search. |
2838 | */ |
e5a4bac5 |
2839 | #define SITELIB "c:\\perl\\site\\5.6.0\\lib" /**/ |
2840 | #define SITELIB_EXP (win32_get_sitelib("5.6.0")) /**/ |
4ea817c6 |
2841 | #define SITELIB_STEM "" /**/ |
3635cd84 |
2842 | |
a13ea748 |
2843 | /* Size_t_size: |
2844 | * This symbol holds the size of a Size_t in bytes. |
2845 | */ |
91027b9e |
2846 | #define Size_t_size 4 /**/ |
a13ea748 |
2847 | |
3635cd84 |
2848 | /* Size_t: |
2849 | * This symbol holds the type used to declare length parameters |
2850 | * for string functions. It is usually size_t, but may be |
2851 | * unsigned long, int, etc. It may be necessary to include |
2852 | * <sys/types.h> to get any typedef'ed information. |
2853 | */ |
2854 | #define Size_t size_t /* length paramater for string functions */ |
2855 | |
2fcfac58 |
2856 | /* Sock_size_t: |
2857 | * This symbol holds the type used for the size argument of |
2858 | * various socket calls (just the base type, not the pointer-to). |
2859 | */ |
2860 | #define Sock_size_t int /**/ |
2861 | |
3635cd84 |
2862 | /* SSize_t: |
2863 | * This symbol holds the type used by functions that return |
2864 | * a count of bytes or an error condition. It must be a signed type. |
2865 | * It is usually ssize_t, but may be long or int, etc. |
2866 | * It may be necessary to include <sys/types.h> or <unistd.h> |
2867 | * to get any typedef'ed information. |
2868 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
2869 | */ |
2870 | #define SSize_t int /* signed count of bytes */ |
327c3667 |
2871 | |
08aa1457 |
2872 | /* STARTPERL: |
2873 | * This variable contains the string to put in front of a perl |
2874 | * script to make sure (one hopes) that it runs with perl and not |
2875 | * some shell. |
2876 | */ |
f987c7de |
2877 | #define STARTPERL "#!perl" /**/ |
08aa1457 |
2878 | |
9423c6fc |
2879 | /* HAS_STDIO_STREAM_ARRAY: |
2880 | * This symbol, if defined, tells that there is an array |
2881 | * holding the stdio streams. |
2882 | */ |
2883 | /* STDIO_STREAM_ARRAY: |
2884 | * This symbol tells the name of the array holding the stdio streams. |
2885 | * Usual values include _iob, __iob, and __sF. |
2886 | */ |
2887 | /*#define HAS_STDIO_STREAM_ARRAY /**/ |
e1f15930 |
2888 | #define STDIO_STREAM_ARRAY |
9423c6fc |
2889 | |
3635cd84 |
2890 | /* Uid_t_f: |
2891 | * This symbol defines the format string used for printing a Uid_t. |
e8ee3774 |
2892 | */ |
3635cd84 |
2893 | #define Uid_t_f "ld" /**/ |
2894 | |
23dcd6c8 |
2895 | /* Uid_t_sign: |
2896 | * This symbol holds the signedess of a Uid_t. |
2897 | * 1 for unsigned, -1 for signed. |
2898 | */ |
2899 | #define Uid_t_sign -1 /* UID sign */ |
91027b9e |
2900 | |
3635cd84 |
2901 | /* Uid_t_size: |
2902 | * This symbol holds the size of a Uid_t in bytes. |
2903 | */ |
2904 | #define Uid_t_size 4 /* UID size */ |
2905 | |
2906 | /* Uid_t: |
2907 | * This symbol holds the type used to declare user ids in the kernel. |
2908 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
2909 | * <sys/types.h> to get any typedef'ed information. |
2910 | */ |
2911 | #define Uid_t uid_t /* UID type */ |
e8ee3774 |
2912 | |
10cc9d2a |
2913 | /* USE_64_BIT_INT: |
2914 | * This symbol, if defined, indicates that 64-bit integers should |
2915 | * be used when available. If not defined, the native integers |
2916 | * will be employed (be they 32 or 64 bits). The minimal possible |
2917 | * 64-bitness is used, just enough to get 64-bit integers into Perl. |
2918 | * This may mean using for example "long longs", while your memory |
2919 | * may still be limited to 2 gigabytes. |
2920 | */ |
ac135a7c |
2921 | /* USE_64_BIT_ALL: |
2922 | * This symbol, if defined, indicates that 64-bit integers should |
2923 | * be used when available. If not defined, the native integers |
2924 | * will be used (be they 32 or 64 bits). The maximal possible |
2925 | * 64-bitness is employed: LP64 or ILP64, meaning that you will |
2926 | * be able to use more than 2 gigabytes of memory. This mode is |
2927 | * even more binary incompatible than USE_64_BIT_INT. You may not |
2928 | * be able to run the resulting executable in a 32-bit CPU at all or |
2929 | * you may need at least to reboot your OS to 64-bit mode. |
2930 | */ |
10cc9d2a |
2931 | #ifndef USE_64_BIT_INT |
2932 | /*#define USE_64_BIT_INT /**/ |
c890dc6c |
2933 | #endif |
2934 | |
ac135a7c |
2935 | #ifndef USE_64_BIT_ALL |
2936 | /*#define USE_64_BIT_ALL /**/ |
2937 | #endif |
2938 | |
e1f15930 |
2939 | /* USE_LARGE_FILES: |
2940 | * This symbol, if defined, indicates that large file support |
c890dc6c |
2941 | * should be used when available. |
e1f15930 |
2942 | */ |
539a3d6c |
2943 | #ifndef USE_LARGE_FILES |
e1f15930 |
2944 | /*#define USE_LARGE_FILES /**/ |
539a3d6c |
2945 | #endif |
e1f15930 |
2946 | |
e8ee3774 |
2947 | /* USE_LONG_DOUBLE: |
2948 | * This symbol, if defined, indicates that long doubles should |
2949 | * be used when available. |
2950 | */ |
539a3d6c |
2951 | #ifndef USE_LONG_DOUBLE |
e8ee3774 |
2952 | /*#define USE_LONG_DOUBLE /**/ |
539a3d6c |
2953 | #endif |
2954 | |
ac135a7c |
2955 | /* USE_MORE_BITS: |
2956 | * This symbol, if defined, indicates that 64-bit interfaces and |
2957 | * long doubles should be used when available. |
2958 | */ |
539a3d6c |
2959 | #ifndef USE_MORE_BITS |
2960 | /*#define USE_MORE_BITS /**/ |
2961 | #endif |
e8ee3774 |
2962 | |
c4d53692 |
2963 | /* MULTIPLICITY: |
2964 | * This symbol, if defined, indicates that Perl should |
2965 | * be built to use multiplicity. |
2966 | */ |
ac135a7c |
2967 | #ifndef MULTIPLICITY |
c4d53692 |
2968 | /*#define MULTIPLICITY /**/ |
539a3d6c |
2969 | #endif |
c4d53692 |
2970 | |
08aa1457 |
2971 | /* USE_PERLIO: |
2972 | * This symbol, if defined, indicates that the PerlIO abstraction should |
2973 | * be used throughout. If not defined, stdio should be |
2974 | * used in a fully backward compatible manner. |
2975 | */ |
539a3d6c |
2976 | #ifndef USE_PERLIO |
08aa1457 |
2977 | /*#define USE_PERLIO /**/ |
539a3d6c |
2978 | #endif |
08aa1457 |
2979 | |
82839a9d |
2980 | /* USE_SOCKS: |
2981 | * This symbol, if defined, indicates that Perl should |
2982 | * be built to use socks. |
2983 | */ |
539a3d6c |
2984 | #ifndef USE_SOCKS |
82839a9d |
2985 | /*#define USE_SOCKS /**/ |
539a3d6c |
2986 | #endif |
82839a9d |
2987 | |
bbda9c9d |
2988 | /* USE_ITHREADS: |
2989 | * This symbol, if defined, indicates that Perl should be built to |
2990 | * use the interpreter-based threading implementation. |
2991 | */ |
2992 | /* USE_5005THREADS: |
2993 | * This symbol, if defined, indicates that Perl should be built to |
2994 | * use the 5.005-based threading implementation. |
924b3ec4 |
2995 | */ |
07ba5892 |
2996 | /* OLD_PTHREADS_API: |
2997 | * This symbol, if defined, indicates that Perl should |
2998 | * be built to use the old draft POSIX threads API. |
2999 | */ |
bbda9c9d |
3000 | /*#define USE_5005THREADS /**/ |
3001 | /*#define USE_ITHREADS /**/ |
3002 | #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) |
3003 | #define USE_THREADS /* until src is revised*/ |
539a3d6c |
3004 | #endif |
07ba5892 |
3005 | /*#define OLD_PTHREADS_API /**/ |
08aa1457 |
3006 | |
2fcfac58 |
3007 | /* PERL_VENDORARCH: |
3008 | * If defined, this symbol contains the name of a private library. |
3009 | * The library is private in the sense that it needn't be in anyone's |
3010 | * execution path, but it should be accessible by the world. |
3011 | * It may have a ~ on the front. |
3012 | * The standard distribution will put nothing in this directory. |
3013 | * Vendors who distribute perl may wish to place their own |
3014 | * architecture-dependent modules and extensions in this directory with |
3015 | * MakeMaker Makefile.PL INSTALLDIRS=vendor |
3016 | * or equivalent. See INSTALL for details. |
3017 | */ |
4ea817c6 |
3018 | /* PERL_VENDORARCH_EXP: |
3019 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used |
3020 | * in programs that are not prepared to deal with ~ expansion at run-time. |
3021 | */ |
2fcfac58 |
3022 | /*#define PERL_VENDORARCH "" /**/ |
4ea817c6 |
3023 | /*#define PERL_VENDORARCH_EXP "" /**/ |
3024 | |
3635cd84 |
3025 | /* PERL_VENDORLIB_EXP: |
3026 | * This symbol contains the ~name expanded version of VENDORLIB, to be used |
3027 | * in programs that are not prepared to deal with ~ expansion at run-time. |
bbda9c9d |
3028 | */ |
4ea817c6 |
3029 | /* PERL_VENDORLIB_STEM: |
3030 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component |
3031 | * removed. The elements in inc_version_list (inc_version_list.U) can |
3032 | * be tacked onto this variable to generate a list of directories to search. |
3033 | */ |
3635cd84 |
3034 | /*#define PERL_VENDORLIB_EXP "" /**/ |
4ea817c6 |
3035 | /*#define PERL_VENDORLIB_STEM "" /**/ |
bbda9c9d |
3036 | |
3635cd84 |
3037 | /* VOIDFLAGS: |
3038 | * This symbol indicates how much support of the void type is given by this |
3039 | * compiler. What various bits mean: |
3040 | * |
3041 | * 1 = supports declaration of void |
3042 | * 2 = supports arrays of pointers to functions returning void |
3043 | * 4 = supports comparisons between pointers to void functions and |
3044 | * addresses of void functions |
3045 | * 8 = suports declaration of generic void pointers |
3046 | * |
3047 | * The package designer should define VOIDUSED to indicate the requirements |
3048 | * of the package. This can be done either by #defining VOIDUSED before |
3049 | * including config.h, or by defining defvoidused in Myinit.U. If the |
3050 | * latter approach is taken, only those flags will be tested. If the |
3051 | * level of void support necessary is not present, defines void to int. |
bdaec6b3 |
3052 | */ |
3635cd84 |
3053 | #ifndef VOIDUSED |
3054 | #define VOIDUSED 15 |
3055 | #endif |
3056 | #define VOIDFLAGS 15 |
3057 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
3058 | #define void int /* is void to be avoided? */ |
3059 | #define M_VOID /* Xenix strikes again */ |
3060 | #endif |
bdaec6b3 |
3061 | |
ac135a7c |
3062 | /* PERL_XS_APIVERSION: |
3063 | * This variable contains the version of the oldest perl binary |
3064 | * compatible with the present perl. perl.c:incpush() and |
e5a4bac5 |
3065 | * lib/lib.pm will automatically search in c:\\perl\\site\\5.6.0\\lib\\MSWin32-x86 for older |
ac135a7c |
3066 | * directories across major versions back to xs_apiversion. |
3067 | * This is only useful if you have a perl library directory tree |
3068 | * structured like the default one. |
3069 | * See INSTALL for how this works. |
3070 | * The versioned site_perl directory was introduced in 5.005, |
3071 | * so that is the lowest possible value. |
3072 | * Since this can depend on compile time options (such as |
3073 | * bincompat) it is set by Configure. Other non-default sources |
3074 | * of potential incompatibility, such as multiplicity, threads, |
3075 | * debugging, 64bits, sfio, etc., are not checked for currently, |
3076 | * though in principle we could go snooping around in old |
3077 | * Config.pm files. |
3078 | */ |
3079 | /* PERL_PM_APIVERSION: |
3080 | * This variable contains the version of the oldest perl |
3081 | * compatible with the present perl. (That is, pure perl modules |
3082 | * written for pm_apiversion will still work for the current |
3083 | * version). perl.c:incpush() and lib/lib.pm will automatically |
e5a4bac5 |
3084 | * search in c:\\perl\\site\\5.6.0\\lib for older directories across major versions |
ac135a7c |
3085 | * back to pm_apiversion. This is only useful if you have a perl |
3086 | * library directory tree structured like the default one. The |
3087 | * versioned site_perl library was introduced in 5.005, so that's |
3088 | * the default setting for this variable. It's hard to imagine |
3089 | * it changing before Perl6. It is included here for symmetry |
3090 | * with xs_apiveprsion -- the searching algorithms will |
3091 | * (presumably) be similar. |
3092 | * See the INSTALL file for how this works. |
3093 | */ |
e5a4bac5 |
3094 | #define PERL_XS_APIVERSION "5.6.0" |
ac135a7c |
3095 | #define PERL_PM_APIVERSION "5.005" |
3096 | |
2fcfac58 |
3097 | /* HAS_LCHOWN: |
3098 | * This symbol, if defined, indicates that the lchown routine is |
3099 | * available to operate on a symbolic link (instead of following the |
3100 | * link). |
ac135a7c |
3101 | */ |
2fcfac58 |
3102 | /*#define HAS_LCHOWN /**/ |
ac135a7c |
3103 | |
91027b9e |
3104 | /* FLEXFILENAMES: |
3105 | * This symbol, if defined, indicates that the system supports filenames |
3106 | * longer than 14 characters. |
3107 | */ |
3108 | #define FLEXFILENAMES /**/ |
3109 | |
08aa1457 |
3110 | #endif |