Commit | Line | Data |
---|---|---|
e1caacb4 JH |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which | |
e2a02c1e | 3 | * gets its values from undef, which is generally produced by |
e1caacb4 JH |
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. | |
e2a02c1e | 8 | * For a more permanent change edit undef and rerun config_h.SH. |
e1caacb4 JH |
9 | * |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ | |
11 | */ | |
12 | ||
13 | /* | |
14 | * Package name : perl5 | |
f4257e4d | 15 | * Source directory : |
1829b0dc VK |
16 | * Configuration time: Thu Nov 10 20:47:18 2005 |
17 | * Configured by : vkon | |
f4257e4d | 18 | * Target system : |
e1caacb4 JH |
19 | */ |
20 | ||
21 | #ifndef _config_h_ | |
22 | #define _config_h_ | |
23 | ||
24 | /* LOC_SED: | |
25 | * This symbol holds the complete pathname to the sed program. | |
26 | */ | |
27 | #define LOC_SED "" /**/ | |
28 | ||
29 | /* HAS_ALARM: | |
30 | * This symbol, if defined, indicates that the alarm routine is | |
31 | * available. | |
32 | */ | |
33 | /*#define HAS_ALARM /**/ | |
34 | ||
e1caacb4 JH |
35 | /* HAS_BCMP: |
36 | * This symbol is defined if the bcmp() routine is available to | |
37 | * compare blocks of memory. | |
38 | */ | |
39 | /*#define HAS_BCMP /**/ | |
40 | ||
41 | /* HAS_BCOPY: | |
42 | * This symbol is defined if the bcopy() routine is available to | |
43 | * copy blocks of memory. | |
44 | */ | |
45 | /*#define HAS_BCOPY /**/ | |
46 | ||
47 | /* HAS_BZERO: | |
48 | * This symbol is defined if the bzero() routine is available to | |
49 | * set a memory block to 0. | |
50 | */ | |
51 | /*#define HAS_BZERO /**/ | |
52 | ||
53 | /* HAS_CHOWN: | |
54 | * This symbol, if defined, indicates that the chown routine is | |
55 | * available. | |
56 | */ | |
57 | /*#define HAS_CHOWN /**/ | |
58 | ||
59 | /* HAS_CHROOT: | |
60 | * This symbol, if defined, indicates that the chroot routine is | |
61 | * available. | |
62 | */ | |
63 | /*#define HAS_CHROOT /**/ | |
64 | ||
65 | /* HAS_CHSIZE: | |
66 | * This symbol, if defined, indicates that the chsize routine is available | |
67 | * to truncate files. You might need a -lx to get this routine. | |
68 | */ | |
69 | #define HAS_CHSIZE /**/ | |
70 | ||
71 | /* HASCONST: | |
72 | * This symbol, if defined, indicates that this C compiler knows about | |
73 | * the const type. There is no need to actually test for that symbol | |
74 | * within your programs. The mere use of the "const" keyword will | |
75 | * trigger the necessary tests. | |
76 | */ | |
77 | #define HASCONST /**/ | |
78 | #ifndef HASCONST | |
79 | #define const | |
80 | #endif | |
81 | ||
e1caacb4 JH |
82 | /* HAS_CUSERID: |
83 | * This symbol, if defined, indicates that the cuserid routine is | |
84 | * available to get character login names. | |
85 | */ | |
86 | /*#define HAS_CUSERID /**/ | |
87 | ||
88 | /* HAS_DBL_DIG: | |
89 | * This symbol, if defined, indicates that this system's <float.h> | |
90 | * or <limits.h> defines the symbol DBL_DIG, which is the number | |
91 | * of significant digits in a double precision number. If this | |
92 | * symbol is not defined, a guess of 15 is usually pretty good. | |
93 | */ | |
94 | #define HAS_DBL_DIG /**/ | |
95 | ||
96 | /* HAS_DIFFTIME: | |
97 | * This symbol, if defined, indicates that the difftime routine is | |
98 | * available. | |
99 | */ | |
100 | #define HAS_DIFFTIME /**/ | |
101 | ||
102 | /* HAS_DLERROR: | |
103 | * This symbol, if defined, indicates that the dlerror routine is | |
104 | * available to return a string describing the last error that | |
105 | * occurred from a call to dlopen(), dlclose() or dlsym(). | |
106 | */ | |
107 | #define HAS_DLERROR /**/ | |
108 | ||
e1caacb4 JH |
109 | /* HAS_DUP2: |
110 | * This symbol, if defined, indicates that the dup2 routine is | |
111 | * available to duplicate file descriptors. | |
112 | */ | |
113 | #define HAS_DUP2 /**/ | |
114 | ||
115 | /* HAS_FCHMOD: | |
116 | * This symbol, if defined, indicates that the fchmod routine is available | |
117 | * to change mode of opened files. If unavailable, use chmod(). | |
118 | */ | |
119 | /*#define HAS_FCHMOD /**/ | |
120 | ||
121 | /* HAS_FCHOWN: | |
122 | * This symbol, if defined, indicates that the fchown routine is available | |
123 | * to change ownership of opened files. If unavailable, use chown(). | |
124 | */ | |
125 | /*#define HAS_FCHOWN /**/ | |
126 | ||
127 | /* HAS_FCNTL: | |
128 | * This symbol, if defined, indicates to the C program that | |
129 | * the fcntl() function exists. | |
130 | */ | |
131 | /*#define HAS_FCNTL /**/ | |
132 | ||
133 | /* HAS_FGETPOS: | |
134 | * This symbol, if defined, indicates that the fgetpos routine is | |
135 | * available to get the file position indicator, similar to ftell(). | |
136 | */ | |
137 | #define HAS_FGETPOS /**/ | |
138 | ||
139 | /* HAS_FLOCK: | |
140 | * This symbol, if defined, indicates that the flock routine is | |
141 | * available to do file locking. | |
142 | */ | |
e2a02c1e | 143 | /*#define HAS_FLOCK /**/ |
e1caacb4 JH |
144 | |
145 | /* HAS_FORK: | |
146 | * This symbol, if defined, indicates that the fork routine is | |
147 | * available. | |
148 | */ | |
149 | /*#define HAS_FORK /**/ | |
150 | ||
151 | /* HAS_FSETPOS: | |
152 | * This symbol, if defined, indicates that the fsetpos routine is | |
153 | * available to set the file position indicator, similar to fseek(). | |
154 | */ | |
155 | #define HAS_FSETPOS /**/ | |
156 | ||
157 | /* HAS_GETTIMEOFDAY: | |
158 | * This symbol, if defined, indicates that the gettimeofday() system | |
159 | * call is available for a sub-second accuracy clock. Usually, the file | |
160 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). | |
161 | * The type "Timeval" should be used to refer to "struct timeval". | |
162 | */ | |
163 | /*#define HAS_GETTIMEOFDAY /**/ | |
164 | #ifdef HAS_GETTIMEOFDAY | |
165 | #define Timeval struct timeval /* Structure used by gettimeofday() */ | |
166 | #endif | |
167 | ||
168 | /* HAS_GETGROUPS: | |
169 | * This symbol, if defined, indicates that the getgroups() routine is | |
170 | * available to get the list of process groups. If unavailable, multiple | |
171 | * groups are probably not supported. | |
172 | */ | |
173 | /*#define HAS_GETGROUPS /**/ | |
174 | ||
175 | /* HAS_GETLOGIN: | |
176 | * This symbol, if defined, indicates that the getlogin routine is | |
177 | * available to get the login name. | |
178 | */ | |
179 | #define HAS_GETLOGIN /**/ | |
180 | ||
181 | /* HAS_GETPGID: | |
f4257e4d | 182 | * This symbol, if defined, indicates to the C program that |
e1caacb4 JH |
183 | * the getpgid(pid) function is available to get the |
184 | * process group id. | |
185 | */ | |
186 | /*#define HAS_GETPGID /**/ | |
187 | ||
e1caacb4 JH |
188 | /* HAS_GETPGRP2: |
189 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) | |
190 | * routine is available to get the current process group. | |
191 | */ | |
192 | /*#define HAS_GETPGRP2 /**/ | |
193 | ||
194 | /* HAS_GETPPID: | |
195 | * This symbol, if defined, indicates that the getppid routine is | |
196 | * available to get the parent process ID. | |
197 | */ | |
198 | /*#define HAS_GETPPID /**/ | |
199 | ||
200 | /* HAS_GETPRIORITY: | |
201 | * This symbol, if defined, indicates that the getpriority routine is | |
202 | * available to get a process's priority. | |
203 | */ | |
204 | /*#define HAS_GETPRIORITY /**/ | |
205 | ||
206 | /* HAS_INET_ATON: | |
207 | * This symbol, if defined, indicates to the C program that the | |
208 | * inet_aton() function is available to parse IP address "dotted-quad" | |
209 | * strings. | |
210 | */ | |
211 | /*#define HAS_INET_ATON /**/ | |
212 | ||
213 | /* HAS_KILLPG: | |
214 | * This symbol, if defined, indicates that the killpg routine is available | |
215 | * to kill process groups. If unavailable, you probably should use kill | |
216 | * with a negative process number. | |
217 | */ | |
218 | /*#define HAS_KILLPG /**/ | |
219 | ||
220 | /* HAS_LINK: | |
221 | * This symbol, if defined, indicates that the link routine is | |
222 | * available to create hard links. | |
223 | */ | |
e2a02c1e | 224 | #define HAS_LINK /**/ |
e1caacb4 JH |
225 | |
226 | /* HAS_LOCALECONV: | |
227 | * This symbol, if defined, indicates that the localeconv routine is | |
228 | * available for numeric and monetary formatting conventions. | |
229 | */ | |
c7925a5e | 230 | /*#define HAS_LOCALECONV /**/ |
e1caacb4 JH |
231 | |
232 | /* HAS_LOCKF: | |
233 | * This symbol, if defined, indicates that the lockf routine is | |
234 | * available to do file locking. | |
235 | */ | |
236 | /*#define HAS_LOCKF /**/ | |
237 | ||
238 | /* HAS_LSTAT: | |
239 | * This symbol, if defined, indicates that the lstat routine is | |
240 | * available to do file stats on symbolic links. | |
241 | */ | |
242 | /*#define HAS_LSTAT /**/ | |
243 | ||
244 | /* HAS_MBLEN: | |
245 | * This symbol, if defined, indicates that the mblen routine is available | |
246 | * to find the number of bytes in a multibye character. | |
247 | */ | |
248 | #define HAS_MBLEN /**/ | |
249 | ||
250 | /* HAS_MBSTOWCS: | |
251 | * This symbol, if defined, indicates that the mbstowcs routine is | |
252 | * available to covert a multibyte string into a wide character string. | |
253 | */ | |
254 | #define HAS_MBSTOWCS /**/ | |
255 | ||
256 | /* HAS_MBTOWC: | |
257 | * This symbol, if defined, indicates that the mbtowc routine is available | |
258 | * to covert a multibyte to a wide character. | |
259 | */ | |
260 | #define HAS_MBTOWC /**/ | |
261 | ||
262 | /* HAS_MEMCMP: | |
263 | * This symbol, if defined, indicates that the memcmp routine is available | |
264 | * to compare blocks of memory. | |
265 | */ | |
266 | #define HAS_MEMCMP /**/ | |
267 | ||
268 | /* HAS_MEMCPY: | |
269 | * This symbol, if defined, indicates that the memcpy routine is available | |
270 | * to copy blocks of memory. | |
271 | */ | |
272 | #define HAS_MEMCPY /**/ | |
273 | ||
274 | /* HAS_MEMMOVE: | |
275 | * This symbol, if defined, indicates that the memmove routine is available | |
276 | * to copy potentially overlapping blocks of memory. This should be used | |
277 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your | |
278 | * own version. | |
279 | */ | |
280 | #define HAS_MEMMOVE /**/ | |
281 | ||
282 | /* HAS_MEMSET: | |
283 | * This symbol, if defined, indicates that the memset routine is available | |
284 | * to set blocks of memory. | |
285 | */ | |
286 | #define HAS_MEMSET /**/ | |
287 | ||
288 | /* HAS_MKDIR: | |
289 | * This symbol, if defined, indicates that the mkdir routine is available | |
290 | * to create directories. Otherwise you should fork off a new process to | |
291 | * exec /bin/mkdir. | |
292 | */ | |
293 | #define HAS_MKDIR /**/ | |
294 | ||
295 | /* HAS_MKFIFO: | |
296 | * This symbol, if defined, indicates that the mkfifo routine is | |
297 | * available to create FIFOs. Otherwise, mknod should be able to | |
298 | * do it for you. However, if mkfifo is there, mknod might require | |
299 | * super-user privileges which mkfifo will not. | |
300 | */ | |
301 | /*#define HAS_MKFIFO /**/ | |
302 | ||
303 | /* HAS_MKTIME: | |
304 | * This symbol, if defined, indicates that the mktime routine is | |
305 | * available. | |
306 | */ | |
307 | #define HAS_MKTIME /**/ | |
308 | ||
309 | /* HAS_MSYNC: | |
310 | * This symbol, if defined, indicates that the msync system call is | |
311 | * available to synchronize a mapped file. | |
312 | */ | |
313 | /*#define HAS_MSYNC /**/ | |
314 | ||
315 | /* HAS_MUNMAP: | |
316 | * This symbol, if defined, indicates that the munmap system call is | |
317 | * available to unmap a region, usually mapped by mmap(). | |
318 | */ | |
319 | /*#define HAS_MUNMAP /**/ | |
320 | ||
321 | /* HAS_NICE: | |
322 | * This symbol, if defined, indicates that the nice routine is | |
323 | * available. | |
324 | */ | |
325 | /*#define HAS_NICE /**/ | |
326 | ||
327 | /* HAS_PATHCONF: | |
328 | * This symbol, if defined, indicates that pathconf() is available | |
329 | * to determine file-system related limits and options associated | |
330 | * with a given filename. | |
331 | */ | |
332 | /* HAS_FPATHCONF: | |
333 | * This symbol, if defined, indicates that pathconf() is available | |
334 | * to determine file-system related limits and options associated | |
335 | * with a given open file descriptor. | |
336 | */ | |
337 | /*#define HAS_PATHCONF /**/ | |
338 | /*#define HAS_FPATHCONF /**/ | |
339 | ||
340 | /* HAS_PAUSE: | |
341 | * This symbol, if defined, indicates that the pause routine is | |
342 | * available to suspend a process until a signal is received. | |
343 | */ | |
344 | #define HAS_PAUSE /**/ | |
345 | ||
346 | /* HAS_PIPE: | |
347 | * This symbol, if defined, indicates that the pipe routine is | |
348 | * available to create an inter-process channel. | |
349 | */ | |
e2a02c1e | 350 | /*#define HAS_PIPE /**/ |
e1caacb4 JH |
351 | |
352 | /* HAS_POLL: | |
353 | * This symbol, if defined, indicates that the poll routine is | |
354 | * available to poll active file descriptors. You may safely | |
355 | * include <poll.h> when this symbol is defined. | |
356 | */ | |
357 | /*#define HAS_POLL /**/ | |
358 | ||
359 | /* HAS_READDIR: | |
360 | * This symbol, if defined, indicates that the readdir routine is | |
361 | * available to read directory entries. You may have to include | |
362 | * <dirent.h>. See I_DIRENT. | |
363 | */ | |
364 | #define HAS_READDIR /**/ | |
365 | ||
366 | /* HAS_SEEKDIR: | |
367 | * This symbol, if defined, indicates that the seekdir routine is | |
368 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
369 | */ | |
370 | #define HAS_SEEKDIR /**/ | |
371 | ||
372 | /* HAS_TELLDIR: | |
373 | * This symbol, if defined, indicates that the telldir routine is | |
374 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
375 | */ | |
376 | #define HAS_TELLDIR /**/ | |
377 | ||
378 | /* HAS_REWINDDIR: | |
379 | * This symbol, if defined, indicates that the rewinddir routine is | |
380 | * available. You may have to include <dirent.h>. See I_DIRENT. | |
381 | */ | |
382 | #define HAS_REWINDDIR /**/ | |
383 | ||
384 | /* HAS_READLINK: | |
385 | * This symbol, if defined, indicates that the readlink routine is | |
386 | * available to read the value of a symbolic link. | |
387 | */ | |
388 | /*#define HAS_READLINK /**/ | |
389 | ||
390 | /* HAS_RENAME: | |
391 | * This symbol, if defined, indicates that the rename routine is available | |
392 | * to rename files. Otherwise you should do the unlink(), link(), unlink() | |
393 | * trick. | |
394 | */ | |
395 | #define HAS_RENAME /**/ | |
396 | ||
397 | /* HAS_RMDIR: | |
398 | * This symbol, if defined, indicates that the rmdir routine is | |
399 | * available to remove directories. Otherwise you should fork off a | |
400 | * new process to exec /bin/rmdir. | |
401 | */ | |
402 | #define HAS_RMDIR /**/ | |
403 | ||
404 | /* HAS_SELECT: | |
405 | * This symbol, if defined, indicates that the select routine is | |
406 | * available to select active file descriptors. If the timeout field | |
407 | * is used, <sys/time.h> may need to be included. | |
408 | */ | |
409 | #define HAS_SELECT /**/ | |
410 | ||
411 | /* HAS_SETEGID: | |
412 | * This symbol, if defined, indicates that the setegid routine is available | |
413 | * to change the effective gid of the current program. | |
414 | */ | |
415 | /*#define HAS_SETEGID /**/ | |
416 | ||
417 | /* HAS_SETEUID: | |
418 | * This symbol, if defined, indicates that the seteuid routine is available | |
419 | * to change the effective uid of the current program. | |
420 | */ | |
421 | /*#define HAS_SETEUID /**/ | |
422 | ||
423 | /* HAS_SETLINEBUF: | |
424 | * This symbol, if defined, indicates that the setlinebuf routine is | |
425 | * available to change stderr or stdout from block-buffered or unbuffered | |
426 | * to a line-buffered mode. | |
427 | */ | |
428 | /*#define HAS_SETLINEBUF /**/ | |
429 | ||
430 | /* HAS_SETLOCALE: | |
431 | * This symbol, if defined, indicates that the setlocale routine is | |
432 | * available to handle locale-specific ctype implementations. | |
433 | */ | |
e2a02c1e | 434 | #define HAS_SETLOCALE /**/ |
e1caacb4 JH |
435 | |
436 | /* HAS_SETPGID: | |
437 | * This symbol, if defined, indicates that the setpgid(pid, gpid) | |
438 | * routine is available to set process group ID. | |
439 | */ | |
440 | /*#define HAS_SETPGID /**/ | |
441 | ||
e1caacb4 JH |
442 | /* HAS_SETPGRP2: |
443 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) | |
444 | * routine is available to set the current process group. | |
445 | */ | |
446 | /*#define HAS_SETPGRP2 /**/ | |
447 | ||
448 | /* HAS_SETPRIORITY: | |
449 | * This symbol, if defined, indicates that the setpriority routine is | |
450 | * available to set a process's priority. | |
451 | */ | |
452 | /*#define HAS_SETPRIORITY /**/ | |
453 | ||
454 | /* HAS_SETREGID: | |
455 | * This symbol, if defined, indicates that the setregid routine is | |
456 | * available to change the real and effective gid of the current | |
457 | * process. | |
458 | */ | |
459 | /* HAS_SETRESGID: | |
460 | * This symbol, if defined, indicates that the setresgid routine is | |
461 | * available to change the real, effective and saved gid of the current | |
462 | * process. | |
463 | */ | |
464 | /*#define HAS_SETREGID /**/ | |
465 | /*#define HAS_SETRESGID /**/ | |
466 | ||
467 | /* HAS_SETREUID: | |
468 | * This symbol, if defined, indicates that the setreuid routine is | |
469 | * available to change the real and effective uid of the current | |
470 | * process. | |
471 | */ | |
472 | /* HAS_SETRESUID: | |
473 | * This symbol, if defined, indicates that the setresuid routine is | |
474 | * available to change the real, effective and saved uid of the current | |
475 | * process. | |
476 | */ | |
477 | /*#define HAS_SETREUID /**/ | |
478 | /*#define HAS_SETRESUID /**/ | |
479 | ||
480 | /* HAS_SETRGID: | |
481 | * This symbol, if defined, indicates that the setrgid routine is available | |
482 | * to change the real gid of the current program. | |
483 | */ | |
484 | /*#define HAS_SETRGID /**/ | |
485 | ||
486 | /* HAS_SETRUID: | |
487 | * This symbol, if defined, indicates that the setruid routine is available | |
488 | * to change the real uid of the current program. | |
489 | */ | |
490 | /*#define HAS_SETRUID /**/ | |
491 | ||
492 | /* HAS_SETSID: | |
493 | * This symbol, if defined, indicates that the setsid routine is | |
494 | * available to set the process group ID. | |
495 | */ | |
496 | /*#define HAS_SETSID /**/ | |
497 | ||
e1caacb4 JH |
498 | /* HAS_STRCHR: |
499 | * This symbol is defined to indicate that the strchr()/strrchr() | |
500 | * functions are available for string searching. If not, try the | |
501 | * index()/rindex() pair. | |
502 | */ | |
503 | /* HAS_INDEX: | |
504 | * This symbol is defined to indicate that the index()/rindex() | |
505 | * functions are available for string searching. | |
506 | */ | |
507 | #define HAS_STRCHR /**/ | |
508 | /*#define HAS_INDEX /**/ | |
509 | ||
510 | /* HAS_STRCOLL: | |
511 | * This symbol, if defined, indicates that the strcoll routine is | |
512 | * available to compare strings using collating information. | |
513 | */ | |
e2a02c1e | 514 | #define HAS_STRCOLL /**/ |
e1caacb4 JH |
515 | |
516 | /* USE_STRUCT_COPY: | |
517 | * This symbol, if defined, indicates that this C compiler knows how | |
518 | * to copy structures. If undefined, you'll need to use a block copy | |
519 | * routine of some sort instead. | |
520 | */ | |
521 | #define USE_STRUCT_COPY /**/ | |
522 | ||
523 | /* HAS_STRTOD: | |
524 | * This symbol, if defined, indicates that the strtod routine is | |
525 | * available to provide better numeric string conversion than atof(). | |
526 | */ | |
527 | #define HAS_STRTOD /**/ | |
528 | ||
529 | /* HAS_STRTOL: | |
530 | * This symbol, if defined, indicates that the strtol routine is available | |
531 | * to provide better numeric string conversion than atoi() and friends. | |
532 | */ | |
533 | #define HAS_STRTOL /**/ | |
534 | ||
e1caacb4 JH |
535 | /* HAS_STRXFRM: |
536 | * This symbol, if defined, indicates that the strxfrm() routine is | |
537 | * available to transform strings. | |
538 | */ | |
e2a02c1e | 539 | /*#define HAS_STRXFRM /**/ |
e1caacb4 JH |
540 | |
541 | /* HAS_SYMLINK: | |
542 | * This symbol, if defined, indicates that the symlink routine is available | |
543 | * to create symbolic links. | |
544 | */ | |
545 | /*#define HAS_SYMLINK /**/ | |
546 | ||
547 | /* HAS_SYSCALL: | |
548 | * This symbol, if defined, indicates that the syscall routine is | |
549 | * available to call arbitrary system calls. If undefined, that's tough. | |
550 | */ | |
551 | /*#define HAS_SYSCALL /**/ | |
552 | ||
553 | /* HAS_SYSCONF: | |
554 | * This symbol, if defined, indicates that sysconf() is available | |
555 | * to determine system related limits and options. | |
556 | */ | |
557 | /*#define HAS_SYSCONF /**/ | |
558 | ||
559 | /* HAS_SYSTEM: | |
560 | * This symbol, if defined, indicates that the system routine is | |
561 | * available to issue a shell command. | |
562 | */ | |
563 | #define HAS_SYSTEM /**/ | |
564 | ||
565 | /* HAS_TCGETPGRP: | |
566 | * This symbol, if defined, indicates that the tcgetpgrp routine is | |
567 | * available to get foreground process group ID. | |
568 | */ | |
569 | /*#define HAS_TCGETPGRP /**/ | |
570 | ||
571 | /* HAS_TCSETPGRP: | |
572 | * This symbol, if defined, indicates that the tcsetpgrp routine is | |
573 | * available to set foreground process group ID. | |
574 | */ | |
575 | /*#define HAS_TCSETPGRP /**/ | |
576 | ||
577 | /* HAS_TRUNCATE: | |
578 | * This symbol, if defined, indicates that the truncate routine is | |
579 | * available to truncate files. | |
580 | */ | |
581 | /*#define HAS_TRUNCATE /**/ | |
582 | ||
583 | /* HAS_TZNAME: | |
584 | * This symbol, if defined, indicates that the tzname[] array is | |
585 | * available to access timezone names. | |
586 | */ | |
587 | #define HAS_TZNAME /**/ | |
588 | ||
589 | /* HAS_UMASK: | |
590 | * This symbol, if defined, indicates that the umask routine is | |
591 | * available to set and get the value of the file creation mask. | |
592 | */ | |
593 | #define HAS_UMASK /**/ | |
594 | ||
e2a02c1e VK |
595 | /* HAS_USLEEP: |
596 | * This symbol, if defined, indicates that the usleep routine is | |
597 | * available to let the process sleep on a sub-second accuracy. | |
598 | */ | |
599 | /*#define HAS_USLEEP /**/ | |
600 | ||
e1caacb4 JH |
601 | /* HASVOLATILE: |
602 | * This symbol, if defined, indicates that this C compiler knows about | |
603 | * the volatile declaration. | |
604 | */ | |
605 | #define HASVOLATILE /**/ | |
606 | #ifndef HASVOLATILE | |
607 | #define volatile | |
608 | #endif | |
609 | ||
610 | /* HAS_WAIT4: | |
611 | * This symbol, if defined, indicates that wait4() exists. | |
612 | */ | |
613 | /*#define HAS_WAIT4 /**/ | |
614 | ||
615 | /* HAS_WAITPID: | |
616 | * This symbol, if defined, indicates that the waitpid routine is | |
617 | * available to wait for child process. | |
618 | */ | |
e2a02c1e | 619 | #define HAS_WAITPID /**/ |
e1caacb4 JH |
620 | |
621 | /* HAS_WCSTOMBS: | |
622 | * This symbol, if defined, indicates that the wcstombs routine is | |
623 | * available to convert wide character strings to multibyte strings. | |
624 | */ | |
625 | #define HAS_WCSTOMBS /**/ | |
626 | ||
627 | /* HAS_WCTOMB: | |
628 | * This symbol, if defined, indicates that the wctomb routine is available | |
629 | * to covert a wide character to a multibyte. | |
630 | */ | |
631 | #define HAS_WCTOMB /**/ | |
632 | ||
633 | /* I_ARPA_INET: | |
634 | * This symbol, if defined, indicates to the C program that it should | |
635 | * include <arpa/inet.h> to get inet_addr and friends declarations. | |
636 | */ | |
637 | #define I_ARPA_INET /**/ | |
638 | ||
2a0de2c5 NC |
639 | /* I_ASSERT: |
640 | * This symbol, if defined, indicates to the C program that it could | |
641 | * include <assert.h> to get the assert() macro. | |
642 | */ | |
643 | #define I_ASSERT /**/ | |
644 | ||
e1caacb4 JH |
645 | /* I_DBM: |
646 | * This symbol, if defined, indicates that <dbm.h> exists and should | |
647 | * be included. | |
648 | */ | |
649 | /* I_RPCSVC_DBM: | |
650 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and | |
651 | * should be included. | |
652 | */ | |
653 | /*#define I_DBM /**/ | |
30f6094b | 654 | /*#define I_RPCSVC_DBM / **/ |
e1caacb4 JH |
655 | |
656 | /* I_DIRENT: | |
657 | * This symbol, if defined, indicates to the C program that it should | |
658 | * include <dirent.h>. Using this symbol also triggers the definition | |
659 | * of the Direntry_t define which ends up being 'struct dirent' or | |
660 | * 'struct direct' depending on the availability of <dirent.h>. | |
661 | */ | |
662 | /* DIRNAMLEN: | |
663 | * This symbol, if defined, indicates to the C program that the length | |
664 | * of directory entry names is provided by a d_namlen field. Otherwise | |
665 | * you need to do strlen() on the d_name field. | |
666 | */ | |
667 | /* Direntry_t: | |
668 | * This symbol is set to 'struct direct' or 'struct dirent' depending on | |
669 | * whether dirent is available or not. You should use this pseudo type to | |
670 | * portably declare your directory entries. | |
671 | */ | |
672 | #define I_DIRENT /**/ | |
673 | #define DIRNAMLEN /**/ | |
674 | #define Direntry_t struct direct | |
675 | ||
676 | /* I_DLFCN: | |
677 | * This symbol, if defined, indicates that <dlfcn.h> exists and should | |
678 | * be included. | |
679 | */ | |
680 | #define I_DLFCN /**/ | |
681 | ||
682 | /* I_FCNTL: | |
683 | * This manifest constant tells the C program to include <fcntl.h>. | |
684 | */ | |
e2a02c1e | 685 | #define I_FCNTL /**/ |
e1caacb4 JH |
686 | |
687 | /* I_FLOAT: | |
688 | * This symbol, if defined, indicates to the C program that it should | |
689 | * include <float.h> to get definition of symbols like DBL_MAX or | |
690 | * DBL_MIN, i.e. machine dependent floating point values. | |
691 | */ | |
692 | #define I_FLOAT /**/ | |
693 | ||
694 | /* I_LIMITS: | |
695 | * This symbol, if defined, indicates to the C program that it should | |
696 | * include <limits.h> to get definition of symbols like WORD_BIT or | |
697 | * LONG_MAX, i.e. machine dependant limitations. | |
698 | */ | |
699 | #define I_LIMITS /**/ | |
700 | ||
701 | /* I_LOCALE: | |
702 | * This symbol, if defined, indicates to the C program that it should | |
703 | * include <locale.h>. | |
704 | */ | |
e2a02c1e | 705 | /*#define I_LOCALE /**/ |
e1caacb4 JH |
706 | |
707 | /* I_MATH: | |
708 | * This symbol, if defined, indicates to the C program that it should | |
709 | * include <math.h>. | |
710 | */ | |
711 | #define I_MATH /**/ | |
712 | ||
713 | /* I_MEMORY: | |
714 | * This symbol, if defined, indicates to the C program that it should | |
715 | * include <memory.h>. | |
716 | */ | |
717 | /*#define I_MEMORY /**/ | |
718 | ||
e1caacb4 | 719 | /* I_NET_ERRNO: |
f4257e4d | 720 | * This symbol, if defined, indicates that <net/errno.h> exists and |
e1caacb4 JH |
721 | * should be included. |
722 | */ | |
723 | /*#define I_NET_ERRNO /**/ | |
724 | ||
725 | /* I_NETINET_IN: | |
726 | * This symbol, if defined, indicates to the C program that it should | |
727 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. | |
728 | */ | |
729 | /*#define I_NETINET_IN /**/ | |
730 | ||
e1caacb4 JH |
731 | /* I_STDDEF: |
732 | * This symbol, if defined, indicates that <stddef.h> exists and should | |
733 | * be included. | |
734 | */ | |
735 | #define I_STDDEF /**/ | |
736 | ||
737 | /* I_STDLIB: | |
738 | * This symbol, if defined, indicates that <stdlib.h> exists and should | |
739 | * be included. | |
740 | */ | |
741 | #define I_STDLIB /**/ | |
742 | ||
743 | /* I_STRING: | |
744 | * This symbol, if defined, indicates to the C program that it should | |
745 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). | |
746 | */ | |
747 | #define I_STRING /**/ | |
748 | ||
749 | /* I_SYS_DIR: | |
750 | * This symbol, if defined, indicates to the C program that it should | |
751 | * include <sys/dir.h>. | |
752 | */ | |
753 | /*#define I_SYS_DIR /**/ | |
754 | ||
755 | /* I_SYS_FILE: | |
756 | * This symbol, if defined, indicates to the C program that it should | |
757 | * include <sys/file.h> to get definition of R_OK and friends. | |
758 | */ | |
759 | /*#define I_SYS_FILE /**/ | |
760 | ||
761 | /* I_SYS_IOCTL: | |
762 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should | |
763 | * be included. Otherwise, include <sgtty.h> or <termio.h>. | |
764 | */ | |
e2a02c1e VK |
765 | /* I_SYS_SOCKIO: |
766 | * This symbol, if defined, indicates the <sys/sockio.h> should be included | |
767 | * to get socket ioctl options, like SIOCATMARK. | |
768 | */ | |
e1caacb4 | 769 | /*#define I_SYS_IOCTL /**/ |
e2a02c1e | 770 | /*#define I_SYS_SOCKIO /**/ |
e1caacb4 JH |
771 | |
772 | /* I_SYS_NDIR: | |
773 | * This symbol, if defined, indicates to the C program that it should | |
774 | * include <sys/ndir.h>. | |
775 | */ | |
776 | /*#define I_SYS_NDIR /**/ | |
777 | ||
778 | /* I_SYS_PARAM: | |
779 | * This symbol, if defined, indicates to the C program that it should | |
780 | * include <sys/param.h>. | |
781 | */ | |
782 | /*#define I_SYS_PARAM /**/ | |
783 | ||
784 | /* I_SYS_RESOURCE: | |
785 | * This symbol, if defined, indicates to the C program that it should | |
786 | * include <sys/resource.h>. | |
787 | */ | |
788 | /*#define I_SYS_RESOURCE /**/ | |
789 | ||
790 | /* I_SYS_SELECT: | |
791 | * This symbol, if defined, indicates to the C program that it should | |
792 | * include <sys/select.h> in order to get definition of struct timeval. | |
793 | */ | |
794 | /*#define I_SYS_SELECT /**/ | |
795 | ||
796 | /* I_SYS_STAT: | |
797 | * This symbol, if defined, indicates to the C program that it should | |
798 | * include <sys/stat.h>. | |
799 | */ | |
800 | #define I_SYS_STAT /**/ | |
801 | ||
802 | /* I_SYS_TIMES: | |
803 | * This symbol, if defined, indicates to the C program that it should | |
804 | * include <sys/times.h>. | |
805 | */ | |
806 | /*#define I_SYS_TIMES /**/ | |
807 | ||
808 | /* I_SYS_TYPES: | |
809 | * This symbol, if defined, indicates to the C program that it should | |
810 | * include <sys/types.h>. | |
811 | */ | |
e2a02c1e | 812 | /*#define I_SYS_TYPES /**/ |
e1caacb4 JH |
813 | |
814 | /* I_SYS_UN: | |
815 | * This symbol, if defined, indicates to the C program that it should | |
816 | * include <sys/un.h> to get UNIX domain socket definitions. | |
817 | */ | |
818 | /*#define I_SYS_UN /**/ | |
819 | ||
820 | /* I_SYS_WAIT: | |
821 | * This symbol, if defined, indicates to the C program that it should | |
822 | * include <sys/wait.h>. | |
823 | */ | |
824 | /*#define I_SYS_WAIT /**/ | |
825 | ||
826 | /* I_TERMIO: | |
827 | * This symbol, if defined, indicates that the program should include | |
828 | * <termio.h> rather than <sgtty.h>. There are also differences in | |
829 | * the ioctl() calls that depend on the value of this symbol. | |
830 | */ | |
831 | /* I_TERMIOS: | |
832 | * This symbol, if defined, indicates that the program should include | |
833 | * the POSIX termios.h rather than sgtty.h or termio.h. | |
834 | * There are also differences in the ioctl() calls that depend on the | |
835 | * value of this symbol. | |
836 | */ | |
837 | /* I_SGTTY: | |
838 | * This symbol, if defined, indicates that the program should include | |
839 | * <sgtty.h> rather than <termio.h>. There are also differences in | |
840 | * the ioctl() calls that depend on the value of this symbol. | |
841 | */ | |
842 | /*#define I_TERMIO /**/ | |
843 | /*#define I_TERMIOS /**/ | |
844 | /*#define I_SGTTY /**/ | |
845 | ||
846 | /* I_UNISTD: | |
847 | * This symbol, if defined, indicates to the C program that it should | |
848 | * include <unistd.h>. | |
849 | */ | |
850 | /*#define I_UNISTD /**/ | |
851 | ||
852 | /* I_UTIME: | |
853 | * This symbol, if defined, indicates to the C program that it should | |
854 | * include <utime.h>. | |
855 | */ | |
856 | #define I_UTIME /**/ | |
857 | ||
858 | /* I_VALUES: | |
859 | * This symbol, if defined, indicates to the C program that it should | |
860 | * include <values.h> to get definition of symbols like MINFLOAT or | |
861 | * MAXLONG, i.e. machine dependant limitations. Probably, you | |
862 | * should use <limits.h> instead, if it is available. | |
863 | */ | |
864 | /*#define I_VALUES /**/ | |
865 | ||
e1caacb4 JH |
866 | /* I_VFORK: |
867 | * This symbol, if defined, indicates to the C program that it should | |
868 | * include vfork.h. | |
869 | */ | |
870 | /*#define I_VFORK /**/ | |
871 | ||
e1caacb4 JH |
872 | /* HAS_ACCESSX: |
873 | * This symbol, if defined, indicates that the accessx routine is | |
874 | * available to do extended access checks. | |
875 | */ | |
876 | /*#define HAS_ACCESSX /**/ | |
877 | ||
878 | /* HAS_EACCESS: | |
879 | * This symbol, if defined, indicates that the eaccess routine is | |
880 | * available to do extended access checks. | |
881 | */ | |
882 | /*#define HAS_EACCESS /**/ | |
883 | ||
884 | /* I_SYS_ACCESS: | |
885 | * This symbol, if defined, indicates to the C program that it should | |
886 | * include <sys/access.h>. | |
887 | */ | |
888 | /*#define I_SYS_ACCESS /**/ | |
889 | ||
890 | /* I_SYS_SECURITY: | |
891 | * This symbol, if defined, indicates to the C program that it should | |
892 | * include <sys/security.h>. | |
893 | */ | |
894 | /*#define I_SYS_SECURITY /**/ | |
895 | ||
896 | /* OSNAME: | |
897 | * This symbol contains the name of the operating system, as determined | |
898 | * by Configure. You shouldn't rely on it too much; the specific | |
899 | * feature tests from Configure are generally more reliable. | |
900 | */ | |
e2a02c1e VK |
901 | /* OSVERS: |
902 | * This symbol contains the version of the operating system, as determined | |
903 | * by Configure. You shouldn't rely on it too much; the specific | |
904 | * feature tests from Configure are generally more reliable. | |
905 | */ | |
e1caacb4 | 906 | #define OSNAME "MSWin32" /**/ |
e2a02c1e | 907 | #define OSVERS "4.0" /**/ |
e1caacb4 | 908 | |
1829b0dc VK |
909 | /* USE_CROSS_COMPILE: |
910 | * This symbol, if defined, indicates that Perl is being cross-compiled. | |
911 | */ | |
912 | /* PERL_TARGETARCH: | |
913 | * This symbol, if defined, indicates the target architecture | |
914 | * Perl has been cross-compiled to. Undefined if not a cross-compile. | |
915 | */ | |
916 | #ifndef USE_CROSS_COMPILE | |
b0f06652 VK |
917 | #define USE_CROSS_COMPILE /**/ |
918 | #define PERL_TARGETARCH "wince" /**/ | |
1829b0dc VK |
919 | #endif |
920 | ||
921 | /* MULTIARCH: | |
922 | * This symbol, if defined, signifies that the build | |
923 | * process will produce some binary files that are going to be | |
924 | * used in a cross-platform environment. This is the case for | |
925 | * example with the NeXT "fat" binaries that contain executables | |
926 | * for several CPUs. | |
927 | */ | |
928 | /*#define MULTIARCH /**/ | |
929 | ||
e1caacb4 JH |
930 | /* MEM_ALIGNBYTES: |
931 | * This symbol contains the number of bytes required to align a | |
932 | * double, or a long double when applicable. Usual values are 2, | |
933 | * 4 and 8. The default is eight, for safety. | |
934 | */ | |
1b2243c7 | 935 | #if defined(MULTIARCH) |
e1caacb4 JH |
936 | # define MEM_ALIGNBYTES 8 |
937 | #else | |
938 | #define MEM_ALIGNBYTES 8 | |
939 | #endif | |
940 | ||
941 | /* ARCHLIB: | |
942 | * This variable, if defined, holds the name of the directory in | |
943 | * which the user wants to put architecture-dependent public | |
944 | * library files for perl5. It is most often a local directory | |
945 | * such as /usr/local/lib. Programs using this variable must be | |
946 | * prepared to deal with filename expansion. If ARCHLIB is the | |
947 | * same as PRIVLIB, it is not defined, since presumably the | |
948 | * program already searches PRIVLIB. | |
949 | */ | |
950 | /* ARCHLIB_EXP: | |
951 | * This symbol contains the ~name expanded version of ARCHLIB, to be used | |
952 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
953 | */ | |
1829b0dc | 954 | #define ARCHLIB "\\Storage Card\\perl58m\\lib" /**/ |
e1caacb4 JH |
955 | /*#define ARCHLIB_EXP "" /**/ |
956 | ||
957 | /* ARCHNAME: | |
958 | * This symbol holds a string representing the architecture name. | |
959 | * It may be used to construct an architecture-dependant pathname | |
960 | * where library files may be held under a private library, for | |
961 | * instance. | |
962 | */ | |
1829b0dc | 963 | #define ARCHNAME "MS Pocket PC-WCE300-ARM" /**/ |
e1caacb4 JH |
964 | |
965 | /* HAS_ATOLF: | |
966 | * This symbol, if defined, indicates that the atolf routine is | |
967 | * available to convert strings into long doubles. | |
968 | */ | |
969 | /*#define HAS_ATOLF /**/ | |
970 | ||
971 | /* HAS_ATOLL: | |
972 | * This symbol, if defined, indicates that the atoll routine is | |
973 | * available to convert strings into long longs. | |
974 | */ | |
975 | /*#define HAS_ATOLL /**/ | |
976 | ||
977 | /* BIN: | |
978 | * This symbol holds the path of the bin directory where the package will | |
979 | * be installed. Program must be prepared to deal with ~name substitution. | |
980 | */ | |
981 | /* BIN_EXP: | |
982 | * This symbol is the filename expanded version of the BIN symbol, for | |
983 | * programs that do not want to deal with that at run-time. | |
984 | */ | |
1829b0dc VK |
985 | #define BIN "\\Storage Card\\perl58m\\bin" /**/ |
986 | #define BIN_EXP "\\Storage Card\\perl58m\\bin" /**/ | |
987 | ||
988 | /* INTSIZE: | |
989 | * This symbol contains the value of sizeof(int) so that the C | |
990 | * preprocessor can make decisions based on it. | |
991 | */ | |
992 | /* LONGSIZE: | |
993 | * This symbol contains the value of sizeof(long) so that the C | |
994 | * preprocessor can make decisions based on it. | |
995 | */ | |
996 | /* SHORTSIZE: | |
997 | * This symbol contains the value of sizeof(short) so that the C | |
998 | * preprocessor can make decisions based on it. | |
999 | */ | |
1000 | #define INTSIZE 4 /**/ | |
1001 | #define LONGSIZE 4 /**/ | |
1002 | #define SHORTSIZE 2 /**/ | |
e1caacb4 | 1003 | |
e1caacb4 JH |
1004 | /* BYTEORDER: |
1005 | * This symbol holds the hexadecimal constant defined in byteorder, | |
e2a02c1e | 1006 | * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... |
e1caacb4 JH |
1007 | * If the compiler supports cross-compiling or multiple-architecture |
1008 | * binaries (eg. on NeXT systems), use compiler-defined macros to | |
1009 | * determine the byte order. | |
1010 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture | |
1011 | * Binaries (MAB) on either big endian or little endian machines. | |
1012 | * The endian-ness is available at compile-time. This only matters | |
f4257e4d | 1013 | * for perl, where the config.h can be generated and installed on |
e1caacb4 JH |
1014 | * one system, and used by a different architecture to build an |
1015 | * extension. Older versions of NeXT that might not have | |
1016 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, | |
f4257e4d | 1017 | * so the default case (for NeXT) is big endian to catch them. |
e1caacb4 JH |
1018 | * This might matter for NeXT 3.0. |
1019 | */ | |
1b2243c7 | 1020 | #if defined(MULTIARCH) |
e1caacb4 JH |
1021 | # ifdef __LITTLE_ENDIAN__ |
1022 | # if LONGSIZE == 4 | |
1023 | # define BYTEORDER 0x1234 | |
1024 | # else | |
1025 | # if LONGSIZE == 8 | |
1026 | # define BYTEORDER 0x12345678 | |
1027 | # endif | |
1028 | # endif | |
1029 | # else | |
1030 | # ifdef __BIG_ENDIAN__ | |
1031 | # if LONGSIZE == 4 | |
1032 | # define BYTEORDER 0x4321 | |
1033 | # else | |
1034 | # if LONGSIZE == 8 | |
1035 | # define BYTEORDER 0x87654321 | |
1036 | # endif | |
1037 | # endif | |
1038 | # endif | |
1039 | # endif | |
1040 | # if !defined(BYTEORDER) && (defined(NeXT) || defined(__NeXT__)) | |
1041 | # define BYTEORDER 0x4321 | |
1042 | # endif | |
1043 | #else | |
1044 | #define BYTEORDER 0x1234 /* large digits for MSB */ | |
1045 | #endif /* NeXT */ | |
1046 | ||
bcd0b0c9 DD |
1047 | /* CHARBITS: |
1048 | * This symbol contains the size of a char, so that the C preprocessor | |
1049 | * can make decisions based on it. | |
1050 | */ | |
1051 | #define CHARBITS 8 /**/ | |
1052 | ||
e1caacb4 | 1053 | /* CAT2: |
1829b0dc | 1054 | * This macro concatenates 2 tokens together. |
e1caacb4 JH |
1055 | */ |
1056 | /* STRINGIFY: | |
1057 | * This macro surrounds its token with double quotes. | |
1058 | */ | |
1059 | #if 42 == 1 | |
e2a02c1e VK |
1060 | #define CAT2(a,b) a/**/b |
1061 | #define STRINGIFY(a) "a" | |
e1caacb4 JH |
1062 | /* If you can get stringification with catify, tell me how! */ |
1063 | #endif | |
1064 | #if 42 == 42 | |
f4257e4d | 1065 | #define PeRl_CaTiFy(a, b) a ## b |
e2a02c1e | 1066 | #define PeRl_StGiFy(a) #a |
e1caacb4 JH |
1067 | /* the additional level of indirection enables these macros to be |
1068 | * used as arguments to other macros. See K&R 2nd ed., page 231. */ | |
e2a02c1e VK |
1069 | #define CAT2(a,b) PeRl_CaTiFy(a,b) |
1070 | #define StGiFy(a) PeRl_StGiFy(a) | |
1071 | #define STRINGIFY(a) PeRl_StGiFy(a) | |
e1caacb4 JH |
1072 | #endif |
1073 | #if 42 != 1 && 42 != 42 | |
3099fc99 | 1074 | # include "Bletch: How does this C preprocessor concatenate tokens?" |
e1caacb4 JH |
1075 | #endif |
1076 | ||
1077 | /* CPPSTDIN: | |
1078 | * This symbol contains the first part of the string which will invoke | |
1079 | * the C preprocessor on the standard input and produce to standard | |
1080 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also | |
1081 | * call a wrapper. See CPPRUN. | |
1082 | */ | |
1083 | /* CPPMINUS: | |
1084 | * This symbol contains the second part of the string which will invoke | |
1085 | * the C preprocessor on the standard input and produce to standard | |
1086 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus | |
1087 | * to specify standard input, otherwise the value is "". | |
1088 | */ | |
1089 | /* CPPRUN: | |
1090 | * This symbol contains the string which will invoke a C preprocessor on | |
1091 | * the standard input and produce to standard output. It needs to end | |
1092 | * with CPPLAST, after all other preprocessor flags have been specified. | |
1093 | * The main difference with CPPSTDIN is that this program will never be a | |
1094 | * pointer to a shell wrapper, i.e. it will be empty if no preprocessor is | |
1095 | * available directly to the user. Note that it may well be different from | |
1096 | * the preprocessor used to compile the C program. | |
1097 | */ | |
1098 | /* CPPLAST: | |
1099 | * This symbol is intended to be used along with CPPRUN in the same manner | |
1100 | * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". | |
1101 | */ | |
1829b0dc | 1102 | #define CPPSTDIN "clarm.exe -nologo -E" |
e1caacb4 | 1103 | #define CPPMINUS "" |
1829b0dc | 1104 | #define CPPRUN "clarm.exe -nologo -E" |
e1caacb4 JH |
1105 | #define CPPLAST "" |
1106 | ||
e2a02c1e VK |
1107 | /* HAS__FWALK: |
1108 | * This symbol, if defined, indicates that the _fwalk system call is | |
1109 | * available to apply a function to all the file handles. | |
1110 | */ | |
1111 | /*#define HAS__FWALK /**/ | |
1112 | ||
e1caacb4 JH |
1113 | /* HAS_ACCESS: |
1114 | * This manifest constant lets the C program know that the access() | |
1115 | * system call is available to check for accessibility using real UID/GID. | |
1116 | * (always present on UNIX.) | |
1117 | */ | |
1118 | #define HAS_ACCESS /**/ | |
1119 | ||
e2a02c1e VK |
1120 | /* HAS_ASCTIME_R: |
1121 | * This symbol, if defined, indicates that the asctime_r routine | |
1122 | * is available to asctime re-entrantly. | |
1123 | */ | |
1124 | /* ASCTIME_R_PROTO: | |
1125 | * This symbol encodes the prototype of asctime_r. | |
1829b0dc VK |
1126 | * It is zero if d_asctime_r is undef, and one of the |
1127 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r | |
1128 | * is defined. | |
e2a02c1e VK |
1129 | */ |
1130 | /*#define HAS_ASCTIME_R /**/ | |
1131 | #define ASCTIME_R_PROTO 0 /**/ | |
1132 | ||
e1caacb4 JH |
1133 | /* CASTI32: |
1134 | * This symbol is defined if the C compiler can cast negative | |
1135 | * or large floating point numbers to 32-bit ints. | |
1136 | */ | |
1137 | /*#define CASTI32 /**/ | |
1138 | ||
1139 | /* CASTNEGFLOAT: | |
1140 | * This symbol is defined if the C compiler can cast negative | |
1141 | * numbers to unsigned longs, ints and shorts. | |
1142 | */ | |
1143 | /* CASTFLAGS: | |
1144 | * This symbol contains flags that say what difficulties the compiler | |
1145 | * has casting odd floating values to unsigned long: | |
1146 | * 0 = ok | |
1147 | * 1 = couldn't cast < 0 | |
1148 | * 2 = couldn't cast >= 0x80000000 | |
1149 | * 4 = couldn't cast in argument expression list | |
1150 | */ | |
1151 | #define CASTNEGFLOAT /**/ | |
1152 | #define CASTFLAGS 0 /**/ | |
1153 | ||
e2a02c1e VK |
1154 | /* HAS_CLASS: |
1155 | * This symbol, if defined, indicates that the class routine is | |
1156 | * available to classify doubles. Available for example in AIX. | |
1157 | * The returned values are defined in <float.h> and are: | |
1158 | * | |
1159 | * FP_PLUS_NORM Positive normalized, nonzero | |
1160 | * FP_MINUS_NORM Negative normalized, nonzero | |
1161 | * FP_PLUS_DENORM Positive denormalized, nonzero | |
1162 | * FP_MINUS_DENORM Negative denormalized, nonzero | |
1163 | * FP_PLUS_ZERO +0.0 | |
1164 | * FP_MINUS_ZERO -0.0 | |
1165 | * FP_PLUS_INF +INF | |
1166 | * FP_MINUS_INF -INF | |
1167 | * FP_NANS Signaling Not a Number (NaNS) | |
1168 | * FP_NANQ Quiet Not a Number (NaNQ) | |
1169 | */ | |
1170 | /*#define HAS_CLASS /**/ | |
1171 | ||
e1caacb4 JH |
1172 | /* VOID_CLOSEDIR: |
1173 | * This symbol, if defined, indicates that the closedir() routine | |
1174 | * does not return a value. | |
1175 | */ | |
1176 | /*#define VOID_CLOSEDIR /**/ | |
1177 | ||
e2a02c1e VK |
1178 | /* HAS_STRUCT_CMSGHDR: |
1179 | * This symbol, if defined, indicates that the struct cmsghdr | |
1180 | * is supported. | |
1181 | */ | |
1182 | /*#define HAS_STRUCT_CMSGHDR /**/ | |
1183 | ||
1184 | /* HAS_CRYPT_R: | |
1185 | * This symbol, if defined, indicates that the crypt_r routine | |
1186 | * is available to crypt re-entrantly. | |
1187 | */ | |
1188 | /* CRYPT_R_PROTO: | |
1189 | * This symbol encodes the prototype of crypt_r. | |
1829b0dc VK |
1190 | * It is zero if d_crypt_r is undef, and one of the |
1191 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r | |
1192 | * is defined. | |
e2a02c1e VK |
1193 | */ |
1194 | /*#define HAS_CRYPT_R /**/ | |
1195 | #define CRYPT_R_PROTO 0 /**/ | |
1196 | ||
e1caacb4 JH |
1197 | /* HAS_CSH: |
1198 | * This symbol, if defined, indicates that the C-shell exists. | |
1199 | */ | |
1200 | /* CSH: | |
1201 | * This symbol, if defined, contains the full pathname of csh. | |
1202 | */ | |
1203 | /*#define HAS_CSH /**/ | |
1204 | #ifdef HAS_CSH | |
1205 | #define CSH "" /**/ | |
1206 | #endif | |
1207 | ||
e2a02c1e VK |
1208 | /* HAS_CTIME_R: |
1209 | * This symbol, if defined, indicates that the ctime_r routine | |
1210 | * is available to ctime re-entrantly. | |
1211 | */ | |
1212 | /* CTIME_R_PROTO: | |
1213 | * This symbol encodes the prototype of ctime_r. | |
1829b0dc VK |
1214 | * It is zero if d_ctime_r is undef, and one of the |
1215 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r | |
1216 | * is defined. | |
e2a02c1e VK |
1217 | */ |
1218 | /*#define HAS_CTIME_R /**/ | |
1219 | #define CTIME_R_PROTO 0 /**/ | |
1220 | ||
e1caacb4 JH |
1221 | /* DLSYM_NEEDS_UNDERSCORE: |
1222 | * This symbol, if defined, indicates that we need to prepend an | |
1223 | * underscore to the symbol name before calling dlsym(). This only | |
1224 | * makes sense if you *have* dlsym, which we will presume is the | |
1225 | * case if you're using dl_dlopen.xs. | |
1226 | */ | |
1227 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ | |
1228 | ||
e2a02c1e VK |
1229 | /* HAS_DRAND48_R: |
1230 | * This symbol, if defined, indicates that the drand48_r routine | |
1231 | * is available to drand48 re-entrantly. | |
1232 | */ | |
1233 | /* DRAND48_R_PROTO: | |
1234 | * This symbol encodes the prototype of drand48_r. | |
1829b0dc VK |
1235 | * It is zero if d_drand48_r is undef, and one of the |
1236 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r | |
1237 | * is defined. | |
e2a02c1e VK |
1238 | */ |
1239 | /*#define HAS_DRAND48_R /**/ | |
1240 | #define DRAND48_R_PROTO 0 /**/ | |
1241 | ||
e1caacb4 JH |
1242 | /* HAS_DRAND48_PROTO: |
1243 | * This symbol, if defined, indicates that the system provides | |
1244 | * a prototype for the drand48() function. Otherwise, it is up | |
1245 | * to the program to supply one. A good guess is | |
c68a00c0 | 1246 | * extern double drand48(void); |
e1caacb4 JH |
1247 | */ |
1248 | /*#define HAS_DRAND48_PROTO /**/ | |
1249 | ||
1250 | /* HAS_ENDGRENT: | |
1251 | * This symbol, if defined, indicates that the getgrent routine is | |
1252 | * available for finalizing sequential access of the group database. | |
1253 | */ | |
1254 | /*#define HAS_ENDGRENT /**/ | |
1255 | ||
e2a02c1e VK |
1256 | /* HAS_ENDGRENT_R: |
1257 | * This symbol, if defined, indicates that the endgrent_r routine | |
1258 | * is available to endgrent re-entrantly. | |
1259 | */ | |
1260 | /* ENDGRENT_R_PROTO: | |
1261 | * This symbol encodes the prototype of endgrent_r. | |
1829b0dc VK |
1262 | * It is zero if d_endgrent_r is undef, and one of the |
1263 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r | |
1264 | * is defined. | |
e2a02c1e VK |
1265 | */ |
1266 | /*#define HAS_ENDGRENT_R /**/ | |
1267 | #define ENDGRENT_R_PROTO 0 /**/ | |
1268 | ||
e1caacb4 JH |
1269 | /* HAS_ENDHOSTENT: |
1270 | * This symbol, if defined, indicates that the endhostent() routine is | |
1271 | * available to close whatever was being used for host queries. | |
1272 | */ | |
1273 | /*#define HAS_ENDHOSTENT /**/ | |
1274 | ||
1275 | /* HAS_ENDNETENT: | |
1276 | * This symbol, if defined, indicates that the endnetent() routine is | |
1277 | * available to close whatever was being used for network queries. | |
1278 | */ | |
1279 | /*#define HAS_ENDNETENT /**/ | |
1280 | ||
1281 | /* HAS_ENDPROTOENT: | |
1282 | * This symbol, if defined, indicates that the endprotoent() routine is | |
1283 | * available to close whatever was being used for protocol queries. | |
1284 | */ | |
1285 | /*#define HAS_ENDPROTOENT /**/ | |
1286 | ||
1287 | /* HAS_ENDPWENT: | |
1288 | * This symbol, if defined, indicates that the getgrent routine is | |
1289 | * available for finalizing sequential access of the passwd database. | |
1290 | */ | |
1291 | /*#define HAS_ENDPWENT /**/ | |
1292 | ||
e2a02c1e VK |
1293 | /* HAS_ENDPWENT_R: |
1294 | * This symbol, if defined, indicates that the endpwent_r routine | |
1295 | * is available to endpwent re-entrantly. | |
1296 | */ | |
1297 | /* ENDPWENT_R_PROTO: | |
1298 | * This symbol encodes the prototype of endpwent_r. | |
1829b0dc VK |
1299 | * It is zero if d_endpwent_r is undef, and one of the |
1300 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r | |
1301 | * is defined. | |
e2a02c1e VK |
1302 | */ |
1303 | /*#define HAS_ENDPWENT_R /**/ | |
1304 | #define ENDPWENT_R_PROTO 0 /**/ | |
1305 | ||
e1caacb4 JH |
1306 | /* HAS_ENDSERVENT: |
1307 | * This symbol, if defined, indicates that the endservent() routine is | |
1308 | * available to close whatever was being used for service queries. | |
1309 | */ | |
1310 | /*#define HAS_ENDSERVENT /**/ | |
1311 | ||
e2a02c1e VK |
1312 | /* HAS_FCHDIR: |
1313 | * This symbol, if defined, indicates that the fchdir routine is | |
1314 | * available to change directory using a file descriptor. | |
1315 | */ | |
1316 | /*#define HAS_FCHDIR /**/ | |
1317 | ||
1318 | /* FCNTL_CAN_LOCK: | |
1319 | * This symbol, if defined, indicates that fcntl() can be used | |
1320 | * for file locking. Normally on Unix systems this is defined. | |
1321 | * It may be undefined on VMS. | |
e1caacb4 | 1322 | */ |
e2a02c1e | 1323 | /*#define FCNTL_CAN_LOCK /**/ |
e1caacb4 JH |
1324 | |
1325 | /* HAS_FD_SET: | |
1326 | * This symbol, when defined, indicates presence of the fd_set typedef | |
1327 | * in <sys/types.h> | |
1328 | */ | |
1329 | #define HAS_FD_SET /**/ | |
1330 | ||
e2a02c1e VK |
1331 | /* HAS_FINITE: |
1332 | * This symbol, if defined, indicates that the finite routine is | |
1333 | * available to check whether a double is finite (non-infinity non-NaN). | |
1334 | */ | |
1335 | /*#define HAS_FINITE /**/ | |
1336 | ||
1337 | /* HAS_FINITEL: | |
1338 | * This symbol, if defined, indicates that the finitel routine is | |
1339 | * available to check whether a long double is finite | |
1340 | * (non-infinity non-NaN). | |
1341 | */ | |
1342 | /*#define HAS_FINITEL /**/ | |
1343 | ||
1344 | /* FLEXFILENAMES: | |
1345 | * This symbol, if defined, indicates that the system supports filenames | |
1346 | * longer than 14 characters. | |
1347 | */ | |
1348 | #define FLEXFILENAMES /**/ | |
1349 | ||
1350 | /* HAS_FP_CLASS: | |
1351 | * This symbol, if defined, indicates that the fp_class routine is | |
1352 | * available to classify doubles. Available for example in Digital UNIX. | |
1353 | * The returned values are defined in <math.h> and are: | |
1354 | * | |
1355 | * FP_SNAN Signaling NaN (Not-a-Number) | |
1356 | * FP_QNAN Quiet NaN (Not-a-Number) | |
1357 | * FP_POS_INF +infinity | |
1358 | * FP_NEG_INF -infinity | |
1359 | * FP_POS_NORM Positive normalized | |
1360 | * FP_NEG_NORM Negative normalized | |
1361 | * FP_POS_DENORM Positive denormalized | |
1362 | * FP_NEG_DENORM Negative denormalized | |
1363 | * FP_POS_ZERO +0.0 (positive zero) | |
1364 | * FP_NEG_ZERO -0.0 (negative zero) | |
1365 | */ | |
1366 | /*#define HAS_FP_CLASS /**/ | |
1367 | ||
1368 | /* HAS_FPCLASS: | |
1369 | * This symbol, if defined, indicates that the fpclass routine is | |
1370 | * available to classify doubles. Available for example in Solaris/SVR4. | |
1371 | * The returned values are defined in <ieeefp.h> and are: | |
1372 | * | |
1373 | * FP_SNAN signaling NaN | |
1374 | * FP_QNAN quiet NaN | |
1375 | * FP_NINF negative infinity | |
1376 | * FP_PINF positive infinity | |
1377 | * FP_NDENORM negative denormalized non-zero | |
1378 | * FP_PDENORM positive denormalized non-zero | |
1379 | * FP_NZERO negative zero | |
1380 | * FP_PZERO positive zero | |
1381 | * FP_NNORM negative normalized non-zero | |
1382 | * FP_PNORM positive normalized non-zero | |
1383 | */ | |
1384 | /*#define HAS_FPCLASS /**/ | |
1385 | ||
1386 | /* HAS_FPCLASSIFY: | |
1387 | * This symbol, if defined, indicates that the fpclassify routine is | |
1388 | * available to classify doubles. Available for example in HP-UX. | |
1389 | * The returned values are defined in <math.h> and are | |
1390 | * | |
1391 | * FP_NORMAL Normalized | |
1392 | * FP_ZERO Zero | |
1393 | * FP_INFINITE Infinity | |
1394 | * FP_SUBNORMAL Denormalized | |
1395 | * FP_NAN NaN | |
1396 | * | |
1397 | */ | |
1398 | /*#define HAS_FPCLASSIFY /**/ | |
1399 | ||
e1caacb4 JH |
1400 | /* HAS_FPOS64_T: |
1401 | * This symbol will be defined if the C compiler supports fpos64_t. | |
1402 | */ | |
1403 | /*#define HAS_FPOS64_T /**/ | |
1404 | ||
e2a02c1e VK |
1405 | /* HAS_FREXPL: |
1406 | * This symbol, if defined, indicates that the frexpl routine is | |
1407 | * available to break a long double floating-point number into | |
1408 | * a normalized fraction and an integral power of 2. | |
1409 | */ | |
1410 | /*#define HAS_FREXPL /**/ | |
1411 | ||
ea442100 JH |
1412 | /* HAS_STRUCT_FS_DATA: |
1413 | * This symbol, if defined, indicates that the struct fs_data | |
1414 | * to do statfs() is supported. | |
1415 | */ | |
1416 | /*#define HAS_STRUCT_FS_DATA /**/ | |
1417 | ||
e1caacb4 JH |
1418 | /* HAS_FSEEKO: |
1419 | * This symbol, if defined, indicates that the fseeko routine is | |
1420 | * available to fseek beyond 32 bits (useful for ILP32 hosts). | |
1421 | */ | |
1422 | /*#define HAS_FSEEKO /**/ | |
1423 | ||
ea442100 JH |
1424 | /* HAS_FSTATFS: |
1425 | * This symbol, if defined, indicates that the fstatfs routine is | |
1426 | * available to stat filesystems by file descriptors. | |
1427 | */ | |
1428 | /*#define HAS_FSTATFS /**/ | |
1429 | ||
e2a02c1e VK |
1430 | /* HAS_FSYNC: |
1431 | * This symbol, if defined, indicates that the fsync routine is | |
1432 | * available to write a file's modified data and attributes to | |
1433 | * permanent storage. | |
1434 | */ | |
1435 | /*#define HAS_FSYNC /**/ | |
1436 | ||
e1caacb4 JH |
1437 | /* HAS_FTELLO: |
1438 | * This symbol, if defined, indicates that the ftello routine is | |
1439 | * available to ftell beyond 32 bits (useful for ILP32 hosts). | |
1440 | */ | |
1441 | /*#define HAS_FTELLO /**/ | |
1442 | ||
1829b0dc VK |
1443 | /* HAS_FUTIMES: |
1444 | * This symbol, if defined, indicates that the futimes routine is | |
1445 | * available to change file descriptor time stamps with struct timevals. | |
1446 | */ | |
1447 | /*#define HAS_FUTIMES /**/ | |
1448 | ||
e1caacb4 JH |
1449 | /* Gconvert: |
1450 | * This preprocessor macro is defined to convert a floating point | |
1451 | * number to a string without a trailing decimal point. This | |
1452 | * emulates the behavior of sprintf("%g"), but is sometimes much more | |
1453 | * efficient. If gconvert() is not available, but gcvt() drops the | |
1454 | * trailing decimal point, then gcvt() is used. If all else fails, | |
1455 | * a macro using sprintf("%g") is used. Arguments for the Gconvert | |
1456 | * macro are: value, number of digits, whether trailing zeros should | |
1457 | * be retained, and the output buffer. | |
e2a02c1e | 1458 | * The usual values are: |
e1caacb4 JH |
1459 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1460 | * d_Gconvert='gcvt((x),(n),(b))' | |
1461 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' | |
1462 | * The last two assume trailing zeros should not be kept. | |
1463 | */ | |
1464 | #define Gconvert(x,n,t,b) sprintf((b),"%.*g",(n),(x)) | |
1465 | ||
1466 | /* HAS_GETCWD: | |
1467 | * This symbol, if defined, indicates that the getcwd routine is | |
1468 | * available to get the current working directory. | |
1469 | */ | |
e2a02c1e VK |
1470 | #define HAS_GETCWD /**/ |
1471 | ||
1472 | /* HAS_GETESPWNAM: | |
1473 | * This symbol, if defined, indicates that the getespwnam system call is | |
1474 | * available to retrieve enchanced (shadow) password entries by name. | |
1475 | */ | |
1476 | /*#define HAS_GETESPWNAM /**/ | |
e1caacb4 | 1477 | |
ea442100 JH |
1478 | /* HAS_GETFSSTAT: |
1479 | * This symbol, if defined, indicates that the getfsstat routine is | |
1480 | * available to stat filesystems in bulk. | |
1481 | */ | |
1482 | /*#define HAS_GETFSSTAT /**/ | |
1483 | ||
e1caacb4 JH |
1484 | /* HAS_GETGRENT: |
1485 | * This symbol, if defined, indicates that the getgrent routine is | |
1486 | * available for sequential access of the group database. | |
1487 | */ | |
1488 | /*#define HAS_GETGRENT /**/ | |
1489 | ||
e2a02c1e VK |
1490 | /* HAS_GETGRENT_R: |
1491 | * This symbol, if defined, indicates that the getgrent_r routine | |
1492 | * is available to getgrent re-entrantly. | |
1493 | */ | |
1494 | /* GETGRENT_R_PROTO: | |
1495 | * This symbol encodes the prototype of getgrent_r. | |
1829b0dc VK |
1496 | * It is zero if d_getgrent_r is undef, and one of the |
1497 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r | |
1498 | * is defined. | |
e2a02c1e VK |
1499 | */ |
1500 | /*#define HAS_GETGRENT_R /**/ | |
1501 | #define GETGRENT_R_PROTO 0 /**/ | |
1502 | ||
1503 | /* HAS_GETGRGID_R: | |
1504 | * This symbol, if defined, indicates that the getgrgid_r routine | |
1505 | * is available to getgrgid re-entrantly. | |
1506 | */ | |
1507 | /* GETGRGID_R_PROTO: | |
1508 | * This symbol encodes the prototype of getgrgid_r. | |
1829b0dc VK |
1509 | * It is zero if d_getgrgid_r is undef, and one of the |
1510 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r | |
1511 | * is defined. | |
e2a02c1e VK |
1512 | */ |
1513 | /*#define HAS_GETGRGID_R /**/ | |
1514 | #define GETGRGID_R_PROTO 0 /**/ | |
1515 | ||
1516 | /* HAS_GETGRNAM_R: | |
1517 | * This symbol, if defined, indicates that the getgrnam_r routine | |
1518 | * is available to getgrnam re-entrantly. | |
1519 | */ | |
1520 | /* GETGRNAM_R_PROTO: | |
1521 | * This symbol encodes the prototype of getgrnam_r. | |
1829b0dc VK |
1522 | * It is zero if d_getgrnam_r is undef, and one of the |
1523 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r | |
1524 | * is defined. | |
e2a02c1e VK |
1525 | */ |
1526 | /*#define HAS_GETGRNAM_R /**/ | |
1527 | #define GETGRNAM_R_PROTO 0 /**/ | |
1528 | ||
e1caacb4 JH |
1529 | /* HAS_GETHOSTBYADDR: |
1530 | * This symbol, if defined, indicates that the gethostbyaddr() routine is | |
1531 | * available to look up hosts by their IP addresses. | |
1532 | */ | |
1533 | #define HAS_GETHOSTBYADDR /**/ | |
1534 | ||
1535 | /* HAS_GETHOSTBYNAME: | |
1536 | * This symbol, if defined, indicates that the gethostbyname() routine is | |
1537 | * available to look up host names in some data base or other. | |
1538 | */ | |
1539 | #define HAS_GETHOSTBYNAME /**/ | |
1540 | ||
1541 | /* HAS_GETHOSTENT: | |
1542 | * This symbol, if defined, indicates that the gethostent() routine is | |
1543 | * available to look up host names in some data base or another. | |
1544 | */ | |
1545 | /*#define HAS_GETHOSTENT /**/ | |
1546 | ||
1547 | /* HAS_GETHOSTNAME: | |
1548 | * This symbol, if defined, indicates that the C program may use the | |
1549 | * gethostname() routine to derive the host name. See also HAS_UNAME | |
1550 | * and PHOSTNAME. | |
1551 | */ | |
1552 | /* HAS_UNAME: | |
1553 | * This symbol, if defined, indicates that the C program may use the | |
1554 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME | |
1555 | * and PHOSTNAME. | |
1556 | */ | |
1557 | /* PHOSTNAME: | |
1558 | * This symbol, if defined, indicates the command to feed to the | |
1559 | * popen() routine to derive the host name. See also HAS_GETHOSTNAME | |
1560 | * and HAS_UNAME. Note that the command uses a fully qualified path, | |
1561 | * so that it is safe even if used by a process with super-user | |
1562 | * privileges. | |
1563 | */ | |
1564 | /* HAS_PHOSTNAME: | |
1565 | * This symbol, if defined, indicates that the C program may use the | |
1566 | * contents of PHOSTNAME as a command to feed to the popen() routine | |
1567 | * to derive the host name. | |
1568 | */ | |
1569 | #define HAS_GETHOSTNAME /**/ | |
1570 | #define HAS_UNAME /**/ | |
1571 | /*#define HAS_PHOSTNAME /**/ | |
1572 | #ifdef HAS_PHOSTNAME | |
1573 | #define PHOSTNAME "" /* How to get the host name */ | |
1574 | #endif | |
1575 | ||
1576 | /* HAS_GETHOST_PROTOS: | |
1577 | * This symbol, if defined, indicates that <netdb.h> includes | |
1578 | * prototypes for gethostent(), gethostbyname(), and | |
1579 | * gethostbyaddr(). Otherwise, it is up to the program to guess | |
1580 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1581 | */ | |
1582 | #define HAS_GETHOST_PROTOS /**/ | |
1583 | ||
e2a02c1e VK |
1584 | /* HAS_GETITIMER: |
1585 | * This symbol, if defined, indicates that the getitimer routine is | |
1586 | * available to return interval timers. | |
1587 | */ | |
1588 | /*#define HAS_GETITIMER /**/ | |
1589 | ||
1590 | /* HAS_GETLOGIN_R: | |
1591 | * This symbol, if defined, indicates that the getlogin_r routine | |
1592 | * is available to getlogin re-entrantly. | |
1593 | */ | |
1594 | /* GETLOGIN_R_PROTO: | |
1595 | * This symbol encodes the prototype of getlogin_r. | |
1829b0dc VK |
1596 | * It is zero if d_getlogin_r is undef, and one of the |
1597 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r | |
1598 | * is defined. | |
e2a02c1e VK |
1599 | */ |
1600 | /*#define HAS_GETLOGIN_R /**/ | |
1601 | #define GETLOGIN_R_PROTO 0 /**/ | |
1602 | ||
ea442100 JH |
1603 | /* HAS_GETMNT: |
1604 | * This symbol, if defined, indicates that the getmnt routine is | |
1605 | * available to get filesystem mount info by filename. | |
1606 | */ | |
1607 | /*#define HAS_GETMNT /**/ | |
1608 | ||
1609 | /* HAS_GETMNTENT: | |
1610 | * This symbol, if defined, indicates that the getmntent routine is | |
1611 | * available to iterate through mounted file systems to get their info. | |
1612 | */ | |
1613 | /*#define HAS_GETMNTENT /**/ | |
1614 | ||
e1caacb4 JH |
1615 | /* HAS_GETNETBYADDR: |
1616 | * This symbol, if defined, indicates that the getnetbyaddr() routine is | |
1617 | * available to look up networks by their IP addresses. | |
1618 | */ | |
1619 | /*#define HAS_GETNETBYADDR /**/ | |
1620 | ||
1621 | /* HAS_GETNETBYNAME: | |
1622 | * This symbol, if defined, indicates that the getnetbyname() routine is | |
1623 | * available to look up networks by their names. | |
1624 | */ | |
1625 | /*#define HAS_GETNETBYNAME /**/ | |
1626 | ||
1627 | /* HAS_GETNETENT: | |
1628 | * This symbol, if defined, indicates that the getnetent() routine is | |
1629 | * available to look up network names in some data base or another. | |
1630 | */ | |
1631 | /*#define HAS_GETNETENT /**/ | |
1632 | ||
1633 | /* HAS_GETNET_PROTOS: | |
1634 | * This symbol, if defined, indicates that <netdb.h> includes | |
1635 | * prototypes for getnetent(), getnetbyname(), and | |
1636 | * getnetbyaddr(). Otherwise, it is up to the program to guess | |
1637 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1638 | */ | |
1639 | /*#define HAS_GETNET_PROTOS /**/ | |
1640 | ||
e2a02c1e VK |
1641 | /* HAS_GETPAGESIZE: |
1642 | * This symbol, if defined, indicates that the getpagesize system call | |
1643 | * is available to get system page size, which is the granularity of | |
1644 | * many memory management calls. | |
1645 | */ | |
1646 | /*#define HAS_GETPAGESIZE /**/ | |
1647 | ||
e1caacb4 JH |
1648 | /* HAS_GETPROTOENT: |
1649 | * This symbol, if defined, indicates that the getprotoent() routine is | |
1650 | * available to look up protocols in some data base or another. | |
1651 | */ | |
1652 | /*#define HAS_GETPROTOENT /**/ | |
1653 | ||
e2a02c1e VK |
1654 | /* HAS_GETPGRP: |
1655 | * This symbol, if defined, indicates that the getpgrp routine is | |
1656 | * available to get the current process group. | |
1657 | */ | |
1658 | /* USE_BSD_GETPGRP: | |
1659 | * This symbol, if defined, indicates that getpgrp needs one | |
1660 | * arguments whereas USG one needs none. | |
1661 | */ | |
1662 | /*#define HAS_GETPGRP /**/ | |
1663 | /*#define USE_BSD_GETPGRP /**/ | |
1664 | ||
e1caacb4 JH |
1665 | /* HAS_GETPROTOBYNAME: |
1666 | * This symbol, if defined, indicates that the getprotobyname() | |
1667 | * routine is available to look up protocols by their name. | |
1668 | */ | |
1669 | /* HAS_GETPROTOBYNUMBER: | |
1670 | * This symbol, if defined, indicates that the getprotobynumber() | |
1671 | * routine is available to look up protocols by their number. | |
1672 | */ | |
1673 | #define HAS_GETPROTOBYNAME /**/ | |
1674 | #define HAS_GETPROTOBYNUMBER /**/ | |
1675 | ||
1676 | /* HAS_GETPROTO_PROTOS: | |
1677 | * This symbol, if defined, indicates that <netdb.h> includes | |
1678 | * prototypes for getprotoent(), getprotobyname(), and | |
1679 | * getprotobyaddr(). Otherwise, it is up to the program to guess | |
1680 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1681 | */ | |
1682 | #define HAS_GETPROTO_PROTOS /**/ | |
1683 | ||
e2a02c1e VK |
1684 | /* HAS_GETPRPWNAM: |
1685 | * This symbol, if defined, indicates that the getprpwnam system call is | |
1686 | * available to retrieve protected (shadow) password entries by name. | |
1687 | */ | |
1688 | /*#define HAS_GETPRPWNAM /**/ | |
1689 | ||
e1caacb4 JH |
1690 | /* HAS_GETPWENT: |
1691 | * This symbol, if defined, indicates that the getpwent routine is | |
1692 | * available for sequential access of the passwd database. | |
1693 | * If this is not available, the older getpw() function may be available. | |
1694 | */ | |
1695 | /*#define HAS_GETPWENT /**/ | |
1696 | ||
e2a02c1e VK |
1697 | /* HAS_GETPWENT_R: |
1698 | * This symbol, if defined, indicates that the getpwent_r routine | |
1699 | * is available to getpwent re-entrantly. | |
1700 | */ | |
1701 | /* GETPWENT_R_PROTO: | |
1702 | * This symbol encodes the prototype of getpwent_r. | |
1829b0dc VK |
1703 | * It is zero if d_getpwent_r is undef, and one of the |
1704 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r | |
1705 | * is defined. | |
e2a02c1e VK |
1706 | */ |
1707 | /*#define HAS_GETPWENT_R /**/ | |
1708 | #define GETPWENT_R_PROTO 0 /**/ | |
1709 | ||
1710 | /* HAS_GETPWNAM_R: | |
1711 | * This symbol, if defined, indicates that the getpwnam_r routine | |
1712 | * is available to getpwnam re-entrantly. | |
1713 | */ | |
1714 | /* GETPWNAM_R_PROTO: | |
1715 | * This symbol encodes the prototype of getpwnam_r. | |
1829b0dc VK |
1716 | * It is zero if d_getpwnam_r is undef, and one of the |
1717 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r | |
1718 | * is defined. | |
e2a02c1e VK |
1719 | */ |
1720 | /*#define HAS_GETPWNAM_R /**/ | |
1721 | #define GETPWNAM_R_PROTO 0 /**/ | |
1722 | ||
1723 | /* HAS_GETPWUID_R: | |
1724 | * This symbol, if defined, indicates that the getpwuid_r routine | |
1725 | * is available to getpwuid re-entrantly. | |
1726 | */ | |
1727 | /* GETPWUID_R_PROTO: | |
1728 | * This symbol encodes the prototype of getpwuid_r. | |
1829b0dc VK |
1729 | * It is zero if d_getpwuid_r is undef, and one of the |
1730 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r | |
1731 | * is defined. | |
e2a02c1e VK |
1732 | */ |
1733 | /*#define HAS_GETPWUID_R /**/ | |
1734 | #define GETPWUID_R_PROTO 0 /**/ | |
1735 | ||
e1caacb4 JH |
1736 | /* HAS_GETSERVENT: |
1737 | * This symbol, if defined, indicates that the getservent() routine is | |
1738 | * available to look up network services in some data base or another. | |
1739 | */ | |
1740 | /*#define HAS_GETSERVENT /**/ | |
1741 | ||
1742 | /* HAS_GETSERV_PROTOS: | |
1743 | * This symbol, if defined, indicates that <netdb.h> includes | |
1744 | * prototypes for getservent(), getservbyname(), and | |
1745 | * getservbyaddr(). Otherwise, it is up to the program to guess | |
1746 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. | |
1747 | */ | |
1748 | #define HAS_GETSERV_PROTOS /**/ | |
1749 | ||
e1caacb4 JH |
1750 | /* HAS_GETSPNAM: |
1751 | * This symbol, if defined, indicates that the getspnam system call is | |
1752 | * available to retrieve SysV shadow password entries by name. | |
1753 | */ | |
1754 | /*#define HAS_GETSPNAM /**/ | |
1755 | ||
e2a02c1e VK |
1756 | /* HAS_GETSPNAM_R: |
1757 | * This symbol, if defined, indicates that the getspnam_r routine | |
1758 | * is available to getspnam re-entrantly. | |
1759 | */ | |
1760 | /* GETSPNAM_R_PROTO: | |
1761 | * This symbol encodes the prototype of getspnam_r. | |
1829b0dc VK |
1762 | * It is zero if d_getspnam_r is undef, and one of the |
1763 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r | |
1764 | * is defined. | |
e2a02c1e VK |
1765 | */ |
1766 | /*#define HAS_GETSPNAM_R /**/ | |
1767 | #define GETSPNAM_R_PROTO 0 /**/ | |
1768 | ||
e1caacb4 JH |
1769 | /* HAS_GETSERVBYNAME: |
1770 | * This symbol, if defined, indicates that the getservbyname() | |
1771 | * routine is available to look up services by their name. | |
1772 | */ | |
1773 | /* HAS_GETSERVBYPORT: | |
1774 | * This symbol, if defined, indicates that the getservbyport() | |
1775 | * routine is available to look up services by their port. | |
1776 | */ | |
1777 | #define HAS_GETSERVBYNAME /**/ | |
1778 | #define HAS_GETSERVBYPORT /**/ | |
1779 | ||
e2a02c1e VK |
1780 | /* HAS_GMTIME_R: |
1781 | * This symbol, if defined, indicates that the gmtime_r routine | |
1782 | * is available to gmtime re-entrantly. | |
1783 | */ | |
1784 | /* GMTIME_R_PROTO: | |
1785 | * This symbol encodes the prototype of gmtime_r. | |
1829b0dc VK |
1786 | * It is zero if d_gmtime_r is undef, and one of the |
1787 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r | |
1788 | * is defined. | |
e2a02c1e VK |
1789 | */ |
1790 | /*#define HAS_GMTIME_R /**/ | |
1791 | #define GMTIME_R_PROTO 0 /**/ | |
1792 | ||
e1caacb4 | 1793 | /* HAS_GNULIBC: |
f4257e4d | 1794 | * This symbol, if defined, indicates to the C program that |
033348ab JH |
1795 | * the GNU C library is being used. A better check is to use |
1796 | * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc. | |
e1caacb4 JH |
1797 | */ |
1798 | /*#define HAS_GNULIBC /**/ | |
1799 | #if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE) | |
1800 | # define _GNU_SOURCE | |
1801 | #endif | |
ea442100 JH |
1802 | /* HAS_HASMNTOPT: |
1803 | * This symbol, if defined, indicates that the hasmntopt routine is | |
1804 | * available to query the mount options of file systems. | |
1805 | */ | |
1806 | /*#define HAS_HASMNTOPT /**/ | |
e1caacb4 JH |
1807 | |
1808 | /* HAS_HTONL: | |
1809 | * This symbol, if defined, indicates that the htonl() routine (and | |
1810 | * friends htons() ntohl() ntohs()) are available to do network | |
1811 | * order byte swapping. | |
1812 | */ | |
1813 | /* HAS_HTONS: | |
1814 | * This symbol, if defined, indicates that the htons() routine (and | |
1815 | * friends htonl() ntohl() ntohs()) are available to do network | |
1816 | * order byte swapping. | |
1817 | */ | |
1818 | /* HAS_NTOHL: | |
1819 | * This symbol, if defined, indicates that the ntohl() routine (and | |
1820 | * friends htonl() htons() ntohs()) are available to do network | |
1821 | * order byte swapping. | |
1822 | */ | |
1823 | /* HAS_NTOHS: | |
1824 | * This symbol, if defined, indicates that the ntohs() routine (and | |
1825 | * friends htonl() htons() ntohl()) are available to do network | |
1826 | * order byte swapping. | |
1827 | */ | |
1828 | #define HAS_HTONL /**/ | |
1829 | #define HAS_HTONS /**/ | |
1830 | #define HAS_NTOHL /**/ | |
1831 | #define HAS_NTOHS /**/ | |
1832 | ||
e1caacb4 JH |
1833 | /* HAS_INT64_T: |
1834 | * This symbol will defined if the C compiler supports int64_t. | |
1835 | * Usually the <inttypes.h> needs to be included, but sometimes | |
1836 | * <sys/types.h> is enough. | |
1837 | */ | |
1838 | /*#define HAS_INT64_T /**/ | |
1839 | ||
1840 | /* HAS_ISASCII: | |
f4257e4d | 1841 | * This manifest constant lets the C program know that isascii |
e1caacb4 JH |
1842 | * is available. |
1843 | */ | |
1844 | #define HAS_ISASCII /**/ | |
1845 | ||
e2a02c1e VK |
1846 | /* HAS_ISFINITE: |
1847 | * This symbol, if defined, indicates that the isfinite routine is | |
1848 | * available to check whether a double is finite (non-infinity non-NaN). | |
1849 | */ | |
1850 | /*#define HAS_ISFINITE /**/ | |
1851 | ||
1852 | /* HAS_ISINF: | |
1853 | * This symbol, if defined, indicates that the isinf routine is | |
1854 | * available to check whether a double is an infinity. | |
1855 | */ | |
1856 | /*#define HAS_ISINF /**/ | |
1857 | ||
1858 | /* HAS_ISNAN: | |
1859 | * This symbol, if defined, indicates that the isnan routine is | |
1860 | * available to check whether a double is a NaN. | |
1861 | */ | |
1862 | #define HAS_ISNAN /**/ | |
1863 | ||
1864 | /* HAS_ISNANL: | |
1865 | * This symbol, if defined, indicates that the isnanl routine is | |
1866 | * available to check whether a long double is a NaN. | |
1867 | */ | |
1868 | /*#define HAS_ISNANL /**/ | |
1869 | ||
1870 | /* HAS_LCHOWN: | |
1871 | * This symbol, if defined, indicates that the lchown routine is | |
1872 | * available to operate on a symbolic link (instead of following the | |
1873 | * link). | |
1874 | */ | |
1875 | /*#define HAS_LCHOWN /**/ | |
1876 | ||
e1caacb4 JH |
1877 | /* HAS_LDBL_DIG: |
1878 | * This symbol, if defined, indicates that this system's <float.h> | |
1879 | * or <limits.h> defines the symbol LDBL_DIG, which is the number | |
1880 | * of significant digits in a long double precision number. Unlike | |
1881 | * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. | |
1882 | */ | |
1883 | #define HAS_LDBL_DIG /**/ | |
1884 | ||
e2a02c1e VK |
1885 | /* HAS_LOCALTIME_R: |
1886 | * This symbol, if defined, indicates that the localtime_r routine | |
1887 | * is available to localtime re-entrantly. | |
1888 | */ | |
f025e94b MB |
1889 | /* LOCALTIME_R_NEEDS_TZSET: |
1890 | * Many libc's localtime_r implementations do not call tzset, | |
1891 | * making them differ from localtime(), and making timezone | |
bcd0b0c9 | 1892 | * changes using \undef{TZ} without explicitly calling tzset |
f025e94b MB |
1893 | * impossible. This symbol makes us call tzset before localtime_r |
1894 | */ | |
bcd0b0c9 DD |
1895 | /*#define LOCALTIME_R_NEEDS_TZSET /**/ |
1896 | #ifdef LOCALTIME_R_NEEDS_TZSET | |
1897 | #define L_R_TZSET tzset(), | |
1898 | #else | |
1899 | #define L_R_TZSET | |
1900 | #endif | |
1901 | ||
e2a02c1e VK |
1902 | /* LOCALTIME_R_PROTO: |
1903 | * This symbol encodes the prototype of localtime_r. | |
1829b0dc VK |
1904 | * It is zero if d_localtime_r is undef, and one of the |
1905 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r | |
1906 | * is defined. | |
e2a02c1e VK |
1907 | */ |
1908 | /*#define HAS_LOCALTIME_R /**/ | |
1909 | #define LOCALTIME_R_PROTO 0 /**/ | |
1910 | ||
e1caacb4 JH |
1911 | /* HAS_LONG_DOUBLE: |
1912 | * This symbol will be defined if the C compiler supports long | |
1913 | * doubles. | |
1914 | */ | |
1915 | /* LONG_DOUBLESIZE: | |
f4257e4d | 1916 | * This symbol contains the size of a long double, so that the |
e1caacb4 JH |
1917 | * C preprocessor can make decisions based on it. It is only |
1918 | * defined if the system supports long doubles. | |
1919 | */ | |
e2a02c1e | 1920 | /*#define HAS_LONG_DOUBLE /**/ |
e1caacb4 | 1921 | #ifdef HAS_LONG_DOUBLE |
e2a02c1e | 1922 | #define LONG_DOUBLESIZE 10 /**/ |
e1caacb4 JH |
1923 | #endif |
1924 | ||
1925 | /* HAS_LONG_LONG: | |
1926 | * This symbol will be defined if the C compiler supports long long. | |
1927 | */ | |
1928 | /* LONGLONGSIZE: | |
f4257e4d | 1929 | * This symbol contains the size of a long long, so that the |
e1caacb4 JH |
1930 | * C preprocessor can make decisions based on it. It is only |
1931 | * defined if the system supports long long. | |
1932 | */ | |
1933 | /*#define HAS_LONG_LONG /**/ | |
1934 | #ifdef HAS_LONG_LONG | |
1935 | #define LONGLONGSIZE 8 /**/ | |
1936 | #endif | |
1937 | ||
1938 | /* HAS_LSEEK_PROTO: | |
1939 | * This symbol, if defined, indicates that the system provides | |
1940 | * a prototype for the lseek() function. Otherwise, it is up | |
1941 | * to the program to supply one. A good guess is | |
1942 | * extern off_t lseek(int, off_t, int); | |
1943 | */ | |
1944 | #define HAS_LSEEK_PROTO /**/ | |
1945 | ||
1946 | /* HAS_MADVISE: | |
1947 | * This symbol, if defined, indicates that the madvise system call is | |
1948 | * available to map a file into memory. | |
1949 | */ | |
1950 | /*#define HAS_MADVISE /**/ | |
1951 | ||
1829b0dc VK |
1952 | /* HAS_MALLOC_SIZE: |
1953 | * This symbol, if defined, indicates that the malloc_size | |
1954 | * routine is available for use. | |
1955 | */ | |
1956 | /*#define HAS_MALLOC_SIZE /**/ | |
1957 | ||
1958 | /* HAS_MALLOC_GOOD_SIZE: | |
1959 | * This symbol, if defined, indicates that the malloc_good_size | |
1960 | * routine is available for use. | |
1961 | */ | |
1962 | /*#define HAS_MALLOC_GOOD_SIZE /**/ | |
1963 | ||
e1caacb4 JH |
1964 | /* HAS_MEMCHR: |
1965 | * This symbol, if defined, indicates that the memchr routine is available | |
1966 | * to locate characters within a C string. | |
1967 | */ | |
1968 | #define HAS_MEMCHR /**/ | |
1969 | ||
1970 | /* HAS_MKDTEMP: | |
1971 | * This symbol, if defined, indicates that the mkdtemp routine is | |
1972 | * available to exclusively create a uniquely named temporary directory. | |
1973 | */ | |
1974 | /*#define HAS_MKDTEMP /**/ | |
1975 | ||
1976 | /* HAS_MKSTEMP: | |
1977 | * This symbol, if defined, indicates that the mkstemp routine is | |
1978 | * available to exclusively create and open a uniquely named | |
1979 | * temporary file. | |
1980 | */ | |
1981 | /*#define HAS_MKSTEMP /**/ | |
1982 | ||
1983 | /* HAS_MKSTEMPS: | |
1984 | * This symbol, if defined, indicates that the mkstemps routine is | |
1985 | * available to excluslvely create and open a uniquely named | |
1986 | * (with a suffix) temporary file. | |
1987 | */ | |
1988 | /*#define HAS_MKSTEMPS /**/ | |
1989 | ||
1990 | /* HAS_MMAP: | |
1991 | * This symbol, if defined, indicates that the mmap system call is | |
1992 | * available to map a file into memory. | |
1993 | */ | |
1994 | /* Mmap_t: | |
1995 | * This symbol holds the return type of the mmap() system call | |
1996 | * (and simultaneously the type of the first argument). | |
1997 | * Usually set to 'void *' or 'cadd_t'. | |
1998 | */ | |
1999 | /*#define HAS_MMAP /**/ | |
2000 | #define Mmap_t void * /**/ | |
2001 | ||
e2a02c1e VK |
2002 | /* HAS_MODFL: |
2003 | * This symbol, if defined, indicates that the modfl routine is | |
2004 | * available to split a long double x into a fractional part f and | |
2005 | * an integer part i such that |f| < 1.0 and (f + i) = x. | |
2006 | */ | |
1829b0dc VK |
2007 | /* HAS_MODFL_PROTO: |
2008 | * This symbol, if defined, indicates that the system provides | |
2009 | * a prototype for the modfl() function. Otherwise, it is up | |
2010 | * to the program to supply one. | |
2011 | */ | |
e2a02c1e | 2012 | /*#define HAS_MODFL /**/ |
1829b0dc | 2013 | /*#define HAS_MODFL_PROTO /**/ |
e2a02c1e | 2014 | |
e1caacb4 JH |
2015 | /* HAS_MPROTECT: |
2016 | * This symbol, if defined, indicates that the mprotect system call is | |
2017 | * available to modify the access protection of a memory mapped file. | |
2018 | */ | |
2019 | /*#define HAS_MPROTECT /**/ | |
2020 | ||
2021 | /* HAS_MSG: | |
2022 | * This symbol, if defined, indicates that the entire msg*(2) library is | |
2023 | * supported (IPC mechanism based on message queues). | |
2024 | */ | |
2025 | /*#define HAS_MSG /**/ | |
2026 | ||
e2a02c1e VK |
2027 | /* HAS_STRUCT_MSGHDR: |
2028 | * This symbol, if defined, indicates that the struct msghdr | |
2029 | * is supported. | |
2030 | */ | |
2031 | /*#define HAS_STRUCT_MSGHDR /**/ | |
2032 | ||
e1caacb4 JH |
2033 | /* HAS_OFF64_T: |
2034 | * This symbol will be defined if the C compiler supports off64_t. | |
2035 | */ | |
2036 | /*#define HAS_OFF64_T /**/ | |
2037 | ||
2038 | /* HAS_OPEN3: | |
2039 | * This manifest constant lets the C program know that the three | |
2040 | * argument form of open(2) is available. | |
2041 | */ | |
2042 | /*#define HAS_OPEN3 /**/ | |
2043 | ||
2044 | /* OLD_PTHREAD_CREATE_JOINABLE: | |
2045 | * This symbol, if defined, indicates how to create pthread | |
2046 | * in joinable (aka undetached) state. NOTE: not defined | |
2047 | * if pthread.h already has defined PTHREAD_CREATE_JOINABLE | |
2048 | * (the new version of the constant). | |
2049 | * If defined, known values are PTHREAD_CREATE_UNDETACHED | |
2050 | * and __UNDETACHED. | |
2051 | */ | |
2052 | /*#define OLD_PTHREAD_CREATE_JOINABLE /**/ | |
2053 | ||
2054 | /* HAS_PTHREAD_YIELD: | |
f4257e4d | 2055 | * This symbol, if defined, indicates that the pthread_yield |
e1caacb4 JH |
2056 | * routine is available to yield the execution of the current |
2057 | * thread. sched_yield is preferable to pthread_yield. | |
2058 | */ | |
2059 | /* SCHED_YIELD: | |
2060 | * This symbol defines the way to yield the execution of | |
2061 | * the current thread. Known ways are sched_yield, | |
2062 | * pthread_yield, and pthread_yield with NULL. | |
2063 | */ | |
2064 | /* HAS_SCHED_YIELD: | |
2065 | * This symbol, if defined, indicates that the sched_yield | |
2066 | * routine is available to yield the execution of the current | |
2067 | * thread. sched_yield is preferable to pthread_yield. | |
2068 | */ | |
2069 | /*#define HAS_PTHREAD_YIELD /**/ | |
2070 | #define SCHED_YIELD /**/ | |
2071 | /*#define HAS_SCHED_YIELD /**/ | |
2072 | ||
e2a02c1e VK |
2073 | /* HAS_RANDOM_R: |
2074 | * This symbol, if defined, indicates that the random_r routine | |
2075 | * is available to random re-entrantly. | |
2076 | */ | |
2077 | /* RANDOM_R_PROTO: | |
2078 | * This symbol encodes the prototype of random_r. | |
1829b0dc VK |
2079 | * It is zero if d_random_r is undef, and one of the |
2080 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r | |
2081 | * is defined. | |
e2a02c1e VK |
2082 | */ |
2083 | /*#define HAS_RANDOM_R /**/ | |
2084 | #define RANDOM_R_PROTO 0 /**/ | |
2085 | ||
2086 | /* HAS_READDIR_R: | |
2087 | * This symbol, if defined, indicates that the readdir_r routine | |
2088 | * is available to readdir re-entrantly. | |
2089 | */ | |
2090 | /* READDIR_R_PROTO: | |
2091 | * This symbol encodes the prototype of readdir_r. | |
1829b0dc VK |
2092 | * It is zero if d_readdir_r is undef, and one of the |
2093 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r | |
2094 | * is defined. | |
e2a02c1e VK |
2095 | */ |
2096 | /*#define HAS_READDIR_R /**/ | |
2097 | #define READDIR_R_PROTO 0 /**/ | |
2098 | ||
2099 | /* HAS_READV: | |
2100 | * This symbol, if defined, indicates that the readv routine is | |
2101 | * available to do gather reads. You will also need <sys/uio.h> | |
2102 | * and there I_SYSUIO. | |
2103 | */ | |
2104 | /*#define HAS_READV /**/ | |
2105 | ||
2106 | /* HAS_RECVMSG: | |
2107 | * This symbol, if defined, indicates that the recvmsg routine is | |
2108 | * available to send structured socket messages. | |
2109 | */ | |
2110 | /*#define HAS_RECVMSG /**/ | |
2111 | ||
e1caacb4 JH |
2112 | /* HAS_SAFE_BCOPY: |
2113 | * This symbol, if defined, indicates that the bcopy routine is available | |
e2a02c1e | 2114 | * to copy potentially overlapping memory blocks. Normally, you should |
e1caacb4 JH |
2115 | * probably use memmove() or memcpy(). If neither is defined, roll your |
2116 | * own version. | |
2117 | */ | |
2118 | /*#define HAS_SAFE_BCOPY /**/ | |
2119 | ||
2120 | /* HAS_SAFE_MEMCPY: | |
2121 | * This symbol, if defined, indicates that the memcpy routine is available | |
e2a02c1e VK |
2122 | * to copy potentially overlapping memory blocks. If you need to |
2123 | * copy overlapping memory blocks, you should check HAS_MEMMOVE and | |
2124 | * use memmove() instead, if available. | |
e1caacb4 JH |
2125 | */ |
2126 | /*#define HAS_SAFE_MEMCPY /**/ | |
2127 | ||
2128 | /* HAS_SANE_MEMCMP: | |
2129 | * This symbol, if defined, indicates that the memcmp routine is available | |
2130 | * and can be used to compare relative magnitudes of chars with their high | |
2131 | * bits set. If it is not defined, roll your own version. | |
2132 | */ | |
2133 | #define HAS_SANE_MEMCMP /**/ | |
2134 | ||
e2a02c1e VK |
2135 | /* HAS_SBRK_PROTO: |
2136 | * This symbol, if defined, indicates that the system provides | |
2137 | * a prototype for the sbrk() function. Otherwise, it is up | |
2138 | * to the program to supply one. Good guesses are | |
2139 | * extern void* sbrk(int); | |
2140 | * extern void* sbrk(size_t); | |
2141 | */ | |
2142 | /*#define HAS_SBRK_PROTO /**/ | |
2143 | ||
2144 | /* HAS_SEM: | |
2145 | * This symbol, if defined, indicates that the entire sem*(2) library is | |
e1caacb4 JH |
2146 | * supported. |
2147 | */ | |
2148 | /*#define HAS_SEM /**/ | |
2149 | ||
e2a02c1e VK |
2150 | /* HAS_SENDMSG: |
2151 | * This symbol, if defined, indicates that the sendmsg routine is | |
2152 | * available to send structured socket messages. | |
2153 | */ | |
2154 | /*#define HAS_SENDMSG /**/ | |
2155 | ||
e1caacb4 JH |
2156 | /* HAS_SETGRENT: |
2157 | * This symbol, if defined, indicates that the setgrent routine is | |
2158 | * available for initializing sequential access of the group database. | |
2159 | */ | |
2160 | /*#define HAS_SETGRENT /**/ | |
2161 | ||
e2a02c1e VK |
2162 | /* HAS_SETGRENT_R: |
2163 | * This symbol, if defined, indicates that the setgrent_r routine | |
2164 | * is available to setgrent re-entrantly. | |
2165 | */ | |
2166 | /* SETGRENT_R_PROTO: | |
2167 | * This symbol encodes the prototype of setgrent_r. | |
1829b0dc VK |
2168 | * It is zero if d_setgrent_r is undef, and one of the |
2169 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r | |
2170 | * is defined. | |
e2a02c1e VK |
2171 | */ |
2172 | /*#define HAS_SETGRENT_R /**/ | |
2173 | #define SETGRENT_R_PROTO 0 /**/ | |
2174 | ||
e1caacb4 JH |
2175 | /* HAS_SETGROUPS: |
2176 | * This symbol, if defined, indicates that the setgroups() routine is | |
2177 | * available to set the list of process groups. If unavailable, multiple | |
2178 | * groups are probably not supported. | |
2179 | */ | |
2180 | /*#define HAS_SETGROUPS /**/ | |
2181 | ||
2182 | /* HAS_SETHOSTENT: | |
2183 | * This symbol, if defined, indicates that the sethostent() routine is | |
2184 | * available. | |
2185 | */ | |
2186 | /*#define HAS_SETHOSTENT /**/ | |
2187 | ||
e2a02c1e VK |
2188 | /* HAS_SETITIMER: |
2189 | * This symbol, if defined, indicates that the setitimer routine is | |
2190 | * available to set interval timers. | |
2191 | */ | |
2192 | /*#define HAS_SETITIMER /**/ | |
2193 | ||
e1caacb4 JH |
2194 | /* HAS_SETNETENT: |
2195 | * This symbol, if defined, indicates that the setnetent() routine is | |
2196 | * available. | |
2197 | */ | |
2198 | /*#define HAS_SETNETENT /**/ | |
2199 | ||
2200 | /* HAS_SETPROTOENT: | |
2201 | * This symbol, if defined, indicates that the setprotoent() routine is | |
2202 | * available. | |
2203 | */ | |
2204 | /*#define HAS_SETPROTOENT /**/ | |
2205 | ||
e2a02c1e VK |
2206 | /* HAS_SETPGRP: |
2207 | * This symbol, if defined, indicates that the setpgrp routine is | |
2208 | * available to set the current process group. | |
2209 | */ | |
2210 | /* USE_BSD_SETPGRP: | |
2211 | * This symbol, if defined, indicates that setpgrp needs two | |
2212 | * arguments whereas USG one needs none. See also HAS_SETPGID | |
2213 | * for a POSIX interface. | |
2214 | */ | |
2215 | /*#define HAS_SETPGRP /**/ | |
2216 | /*#define USE_BSD_SETPGRP /**/ | |
2217 | ||
2218 | /* HAS_SETPROCTITLE: | |
2219 | * This symbol, if defined, indicates that the setproctitle routine is | |
2220 | * available to set process title. | |
2221 | */ | |
2222 | /*#define HAS_SETPROCTITLE /**/ | |
2223 | ||
e1caacb4 JH |
2224 | /* HAS_SETPWENT: |
2225 | * This symbol, if defined, indicates that the setpwent routine is | |
2226 | * available for initializing sequential access of the passwd database. | |
2227 | */ | |
2228 | /*#define HAS_SETPWENT /**/ | |
2229 | ||
e2a02c1e VK |
2230 | /* HAS_SETPWENT_R: |
2231 | * This symbol, if defined, indicates that the setpwent_r routine | |
2232 | * is available to setpwent re-entrantly. | |
2233 | */ | |
2234 | /* SETPWENT_R_PROTO: | |
2235 | * This symbol encodes the prototype of setpwent_r. | |
1829b0dc VK |
2236 | * It is zero if d_setpwent_r is undef, and one of the |
2237 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r | |
2238 | * is defined. | |
e2a02c1e VK |
2239 | */ |
2240 | /*#define HAS_SETPWENT_R /**/ | |
2241 | #define SETPWENT_R_PROTO 0 /**/ | |
2242 | ||
e1caacb4 JH |
2243 | /* HAS_SETSERVENT: |
2244 | * This symbol, if defined, indicates that the setservent() routine is | |
2245 | * available. | |
2246 | */ | |
2247 | /*#define HAS_SETSERVENT /**/ | |
2248 | ||
e1caacb4 JH |
2249 | /* HAS_SETVBUF: |
2250 | * This symbol, if defined, indicates that the setvbuf routine is | |
2251 | * available to change buffering on an open stdio stream. | |
2252 | * to a line-buffered mode. | |
2253 | */ | |
e2a02c1e | 2254 | /*#define HAS_SETVBUF /**/ |
e1caacb4 | 2255 | |
e1caacb4 JH |
2256 | /* HAS_SHM: |
2257 | * This symbol, if defined, indicates that the entire shm*(2) library is | |
2258 | * supported. | |
2259 | */ | |
2260 | /*#define HAS_SHM /**/ | |
2261 | ||
2262 | /* HAS_SIGACTION: | |
2263 | * This symbol, if defined, indicates that Vr4's sigaction() routine | |
2264 | * is available. | |
2265 | */ | |
2266 | /*#define HAS_SIGACTION /**/ | |
2267 | ||
2268 | /* HAS_SIGSETJMP: | |
2269 | * This variable indicates to the C program that the sigsetjmp() | |
2270 | * routine is available to save the calling process's registers | |
2271 | * and stack environment for later use by siglongjmp(), and | |
2272 | * to optionally save the process's signal mask. See | |
2273 | * Sigjmp_buf, Sigsetjmp, and Siglongjmp. | |
2274 | */ | |
2275 | /* Sigjmp_buf: | |
2276 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. | |
2277 | */ | |
2278 | /* Sigsetjmp: | |
2279 | * This macro is used in the same way as sigsetjmp(), but will invoke | |
2280 | * traditional setjmp() if sigsetjmp isn't available. | |
2281 | * See HAS_SIGSETJMP. | |
2282 | */ | |
2283 | /* Siglongjmp: | |
2284 | * This macro is used in the same way as siglongjmp(), but will invoke | |
2285 | * traditional longjmp() if siglongjmp isn't available. | |
2286 | * See HAS_SIGSETJMP. | |
2287 | */ | |
2288 | /*#define HAS_SIGSETJMP /**/ | |
2289 | #ifdef HAS_SIGSETJMP | |
2290 | #define Sigjmp_buf sigjmp_buf | |
2291 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) | |
2292 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) | |
2293 | #else | |
2294 | #define Sigjmp_buf jmp_buf | |
2295 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) | |
2296 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) | |
2297 | #endif | |
2298 | ||
81e44c99 AD |
2299 | /* HAS_STATIC_INLINE: |
2300 | * This symbol, if defined, indicates that the C compiler supports | |
2301 | * C99-style static inline. That is, the function can't be called | |
2302 | * from another translation unit. | |
2303 | */ | |
2304 | /* PERL_STATIC_INLINE: | |
2305 | * This symbol gives the best-guess incantation to use for static | |
2306 | * inline functions. If HAS_STATIC_INLINE is defined, this will | |
2307 | * give C99-style inline. If HAS_STATIC_INLINE is not defined, | |
2308 | * this will give a plain 'static'. It will always be defined | |
2309 | * to something that gives static linkage. | |
2310 | * Possibilities include | |
2311 | * static inline (c99) | |
2312 | * static __inline__ (gcc -ansi) | |
2313 | * static __inline (MSVC) | |
2314 | * static _inline (older MSVC) | |
2315 | * static (c89 compilers) | |
2316 | */ | |
2317 | /*#define HAS_STATIC_INLINE / **/ | |
2318 | #define PERL_STATIC_INLINE static /**/ | |
2319 | ||
1829b0dc VK |
2320 | /* USE_SITECUSTOMIZE: |
2321 | * This symbol, if defined, indicates that sitecustomize should | |
2322 | * be used. | |
2323 | */ | |
2324 | /*#define USE_SITECUSTOMIZE /**/ | |
2325 | ||
e1caacb4 JH |
2326 | /* HAS_SOCKET: |
2327 | * This symbol, if defined, indicates that the BSD socket interface is | |
2328 | * supported. | |
2329 | */ | |
2330 | /* HAS_SOCKETPAIR: | |
2331 | * This symbol, if defined, indicates that the BSD socketpair() call is | |
2332 | * supported. | |
2333 | */ | |
e1caacb4 JH |
2334 | #define HAS_SOCKET /**/ |
2335 | /*#define HAS_SOCKETPAIR /**/ | |
e1caacb4 | 2336 | |
e2a02c1e VK |
2337 | /* HAS_SOCKS5_INIT: |
2338 | * This symbol, if defined, indicates that the socks5_init routine is | |
2339 | * available to initialize SOCKS 5. | |
2340 | */ | |
2341 | /*#define HAS_SOCKS5_INIT /**/ | |
2342 | ||
e1caacb4 JH |
2343 | /* HAS_SQRTL: |
2344 | * This symbol, if defined, indicates that the sqrtl routine is | |
2345 | * available to do long double square roots. | |
2346 | */ | |
2347 | /*#define HAS_SQRTL /**/ | |
2348 | ||
e2a02c1e VK |
2349 | /* HAS_SRAND48_R: |
2350 | * This symbol, if defined, indicates that the srand48_r routine | |
2351 | * is available to srand48 re-entrantly. | |
2352 | */ | |
2353 | /* SRAND48_R_PROTO: | |
2354 | * This symbol encodes the prototype of srand48_r. | |
1829b0dc VK |
2355 | * It is zero if d_srand48_r is undef, and one of the |
2356 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r | |
2357 | * is defined. | |
e2a02c1e VK |
2358 | */ |
2359 | /*#define HAS_SRAND48_R /**/ | |
2360 | #define SRAND48_R_PROTO 0 /**/ | |
2361 | ||
2362 | /* HAS_SRANDOM_R: | |
2363 | * This symbol, if defined, indicates that the srandom_r routine | |
2364 | * is available to srandom re-entrantly. | |
2365 | */ | |
2366 | /* SRANDOM_R_PROTO: | |
2367 | * This symbol encodes the prototype of srandom_r. | |
1829b0dc VK |
2368 | * It is zero if d_srandom_r is undef, and one of the |
2369 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r | |
2370 | * is defined. | |
e2a02c1e VK |
2371 | */ |
2372 | /*#define HAS_SRANDOM_R /**/ | |
2373 | #define SRANDOM_R_PROTO 0 /**/ | |
2374 | ||
e1caacb4 JH |
2375 | /* USE_STAT_BLOCKS: |
2376 | * This symbol is defined if this system has a stat structure declaring | |
2377 | * st_blksize and st_blocks. | |
2378 | */ | |
2379 | #ifndef USE_STAT_BLOCKS | |
2380 | /*#define USE_STAT_BLOCKS /**/ | |
2381 | #endif | |
2382 | ||
ea442100 JH |
2383 | /* HAS_STRUCT_STATFS_F_FLAGS: |
2384 | * This symbol, if defined, indicates that the struct statfs | |
2385 | * does have the f_flags member containing the mount flags of | |
2386 | * the filesystem containing the file. | |
2387 | * This kind of struct statfs is coming from <sys/mount.h> (BSD 4.3), | |
2388 | * not from <sys/statfs.h> (SYSV). Older BSDs (like Ultrix) do not | |
2389 | * have statfs() and struct statfs, they have ustat() and getmnt() | |
2390 | * with struct ustat and struct fs_data. | |
2391 | */ | |
2392 | /*#define HAS_STRUCT_STATFS_F_FLAGS /**/ | |
2393 | ||
2394 | /* HAS_STRUCT_STATFS: | |
2395 | * This symbol, if defined, indicates that the struct statfs | |
2396 | * to do statfs() is supported. | |
2397 | */ | |
2398 | /*#define HAS_STRUCT_STATFS /**/ | |
2399 | ||
2400 | /* HAS_FSTATVFS: | |
2401 | * This symbol, if defined, indicates that the fstatvfs routine is | |
2402 | * available to stat filesystems by file descriptors. | |
2403 | */ | |
2404 | /*#define HAS_FSTATVFS /**/ | |
2405 | ||
e1caacb4 JH |
2406 | /* USE_STDIO_PTR: |
2407 | * This symbol is defined if the _ptr and _cnt fields (or similar) | |
2408 | * of the stdio FILE structure can be used to access the stdio buffer | |
2409 | * for a file handle. If this is defined, then the FILE_ptr(fp) | |
2410 | * and FILE_cnt(fp) macros will also be defined and should be used | |
2411 | * to access these fields. | |
2412 | */ | |
2413 | /* FILE_ptr: | |
2414 | * This macro is used to access the _ptr field (or equivalent) of the | |
2415 | * FILE structure pointed to by its argument. This macro will always be | |
2416 | * defined if USE_STDIO_PTR is defined. | |
2417 | */ | |
2418 | /* STDIO_PTR_LVALUE: | |
2419 | * This symbol is defined if the FILE_ptr macro can be used as an | |
2420 | * lvalue. | |
2421 | */ | |
2422 | /* FILE_cnt: | |
2423 | * This macro is used to access the _cnt field (or equivalent) of the | |
2424 | * FILE structure pointed to by its argument. This macro will always be | |
2425 | * defined if USE_STDIO_PTR is defined. | |
2426 | */ | |
2427 | /* STDIO_CNT_LVALUE: | |
2428 | * This symbol is defined if the FILE_cnt macro can be used as an | |
2429 | * lvalue. | |
2430 | */ | |
e2a02c1e VK |
2431 | /* STDIO_PTR_LVAL_SETS_CNT: |
2432 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2433 | * to increase the pointer by n has the side effect of decreasing the | |
2434 | * value of File_cnt(fp) by n. | |
2435 | */ | |
2436 | /* STDIO_PTR_LVAL_NOCHANGE_CNT: | |
2437 | * This symbol is defined if using the FILE_ptr macro as an lvalue | |
2438 | * to increase the pointer by n leaves File_cnt(fp) unchanged. | |
2439 | */ | |
2440 | /*#define USE_STDIO_PTR /**/ | |
e1caacb4 | 2441 | #ifdef USE_STDIO_PTR |
f4257e4d | 2442 | #define FILE_ptr(fp) |
e2a02c1e | 2443 | /*#define STDIO_PTR_LVALUE /**/ |
f4257e4d | 2444 | #define FILE_cnt(fp) |
e2a02c1e VK |
2445 | /*#define STDIO_CNT_LVALUE /**/ |
2446 | /*#define STDIO_PTR_LVAL_SETS_CNT /**/ | |
2447 | /*#define STDIO_PTR_LVAL_NOCHANGE_CNT /**/ | |
e1caacb4 JH |
2448 | #endif |
2449 | ||
2450 | /* USE_STDIO_BASE: | |
2451 | * This symbol is defined if the _base field (or similar) of the | |
2452 | * stdio FILE structure can be used to access the stdio buffer for | |
2453 | * a file handle. If this is defined, then the FILE_base(fp) macro | |
2454 | * will also be defined and should be used to access this field. | |
2455 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used | |
2456 | * to determine the number of bytes in the buffer. USE_STDIO_BASE | |
2457 | * will never be defined unless USE_STDIO_PTR is. | |
2458 | */ | |
2459 | /* FILE_base: | |
2460 | * This macro is used to access the _base field (or equivalent) of the | |
2461 | * FILE structure pointed to by its argument. This macro will always be | |
2462 | * defined if USE_STDIO_BASE is defined. | |
2463 | */ | |
2464 | /* FILE_bufsiz: | |
2465 | * This macro is used to determine the number of bytes in the I/O | |
2466 | * buffer pointed to by _base field (or equivalent) of the FILE | |
2467 | * structure pointed to its argument. This macro will always be defined | |
2468 | * if USE_STDIO_BASE is defined. | |
2469 | */ | |
e2a02c1e | 2470 | /*#define USE_STDIO_BASE /**/ |
e1caacb4 | 2471 | #ifdef USE_STDIO_BASE |
f4257e4d YO |
2472 | #define FILE_base(fp) |
2473 | #define FILE_bufsiz(fp) | |
e1caacb4 JH |
2474 | #endif |
2475 | ||
2476 | /* HAS_STRERROR: | |
2477 | * This symbol, if defined, indicates that the strerror routine is | |
2478 | * available to translate error numbers to strings. See the writeup | |
2479 | * of Strerror() in this file before you try to define your own. | |
2480 | */ | |
2481 | /* HAS_SYS_ERRLIST: | |
2482 | * This symbol, if defined, indicates that the sys_errlist array is | |
2483 | * available to translate error numbers to strings. The extern int | |
2484 | * sys_nerr gives the size of that table. | |
2485 | */ | |
2486 | /* Strerror: | |
2487 | * This preprocessor symbol is defined as a macro if strerror() is | |
2488 | * not available to translate error numbers to strings but sys_errlist[] | |
2489 | * array is there. | |
2490 | */ | |
2491 | #define HAS_STRERROR /**/ | |
2492 | #define HAS_SYS_ERRLIST /**/ | |
2493 | #define Strerror(e) strerror(e) | |
2494 | ||
e2a02c1e VK |
2495 | /* HAS_STRERROR_R: |
2496 | * This symbol, if defined, indicates that the strerror_r routine | |
2497 | * is available to strerror re-entrantly. | |
2498 | */ | |
2499 | /* STRERROR_R_PROTO: | |
2500 | * This symbol encodes the prototype of strerror_r. | |
1829b0dc VK |
2501 | * It is zero if d_strerror_r is undef, and one of the |
2502 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r | |
2503 | * is defined. | |
e2a02c1e VK |
2504 | */ |
2505 | /*#define HAS_STRERROR_R /**/ | |
2506 | #define STRERROR_R_PROTO 0 /**/ | |
2507 | ||
e1caacb4 JH |
2508 | /* HAS_STRTOLD: |
2509 | * This symbol, if defined, indicates that the strtold routine is | |
2510 | * available to convert strings to long doubles. | |
2511 | */ | |
2512 | /*#define HAS_STRTOLD /**/ | |
2513 | ||
2514 | /* HAS_STRTOLL: | |
2515 | * This symbol, if defined, indicates that the strtoll routine is | |
2516 | * available to convert strings to long longs. | |
2517 | */ | |
2518 | /*#define HAS_STRTOLL /**/ | |
2519 | ||
e2a02c1e VK |
2520 | /* HAS_STRTOQ: |
2521 | * This symbol, if defined, indicates that the strtoq routine is | |
2522 | * available to convert strings to long longs (quads). | |
2523 | */ | |
2524 | /*#define HAS_STRTOQ /**/ | |
2525 | ||
2526 | /* HAS_STRTOUL: | |
2527 | * This symbol, if defined, indicates that the strtoul routine is | |
2528 | * available to provide conversion of strings to unsigned long. | |
2529 | */ | |
2530 | #define HAS_STRTOUL /**/ | |
2531 | ||
e1caacb4 JH |
2532 | /* HAS_STRTOULL: |
2533 | * This symbol, if defined, indicates that the strtoull routine is | |
2534 | * available to convert strings to unsigned long longs. | |
2535 | */ | |
2536 | /*#define HAS_STRTOULL /**/ | |
2537 | ||
2538 | /* HAS_STRTOUQ: | |
2539 | * This symbol, if defined, indicates that the strtouq routine is | |
2540 | * available to convert strings to unsigned long longs (quads). | |
2541 | */ | |
2542 | /*#define HAS_STRTOUQ /**/ | |
2543 | ||
2544 | /* HAS_TELLDIR_PROTO: | |
2545 | * This symbol, if defined, indicates that the system provides | |
2546 | * a prototype for the telldir() function. Otherwise, it is up | |
2547 | * to the program to supply one. A good guess is | |
c68a00c0 | 2548 | * extern long telldir(DIR*); |
e1caacb4 JH |
2549 | */ |
2550 | #define HAS_TELLDIR_PROTO /**/ | |
2551 | ||
e2a02c1e VK |
2552 | /* HAS_TIME: |
2553 | * This symbol, if defined, indicates that the time() routine exists. | |
2554 | */ | |
e1caacb4 JH |
2555 | /* Time_t: |
2556 | * This symbol holds the type returned by time(). It can be long, | |
2557 | * or time_t on BSD sites (in which case <sys/types.h> should be | |
2558 | * included). | |
2559 | */ | |
e2a02c1e | 2560 | #define HAS_TIME /**/ |
e1caacb4 JH |
2561 | #define Time_t time_t /* Time type */ |
2562 | ||
2563 | /* HAS_TIMES: | |
2564 | * This symbol, if defined, indicates that the times() routine exists. | |
2565 | * Note that this became obsolete on some systems (SUNOS), which now | |
2566 | * use getrusage(). It may be necessary to include <sys/times.h>. | |
2567 | */ | |
2568 | #define HAS_TIMES /**/ | |
2569 | ||
e2a02c1e VK |
2570 | /* HAS_TMPNAM_R: |
2571 | * This symbol, if defined, indicates that the tmpnam_r routine | |
2572 | * is available to tmpnam re-entrantly. | |
2573 | */ | |
2574 | /* TMPNAM_R_PROTO: | |
2575 | * This symbol encodes the prototype of tmpnam_r. | |
1829b0dc VK |
2576 | * It is zero if d_tmpnam_r is undef, and one of the |
2577 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r | |
2578 | * is defined. | |
e2a02c1e VK |
2579 | */ |
2580 | /*#define HAS_TMPNAM_R /**/ | |
2581 | #define TMPNAM_R_PROTO 0 /**/ | |
2582 | ||
2583 | /* HAS_UALARM: | |
2584 | * This symbol, if defined, indicates that the ualarm routine is | |
2585 | * available to do alarms with microsecond granularity. | |
2586 | */ | |
2587 | /*#define HAS_UALARM /**/ | |
2588 | ||
e1caacb4 JH |
2589 | /* HAS_UNION_SEMUN: |
2590 | * This symbol, if defined, indicates that the union semun is | |
2591 | * defined by including <sys/sem.h>. If not, the user code | |
2592 | * probably needs to define it as: | |
2593 | * union semun { | |
2594 | * int val; | |
2595 | * struct semid_ds *buf; | |
2596 | * unsigned short *array; | |
2597 | * } | |
2598 | */ | |
2599 | /* USE_SEMCTL_SEMUN: | |
2600 | * This symbol, if defined, indicates that union semun is | |
2601 | * used for semctl IPC_STAT. | |
2602 | */ | |
2603 | /* USE_SEMCTL_SEMID_DS: | |
2604 | * This symbol, if defined, indicates that struct semid_ds * is | |
2605 | * used for semctl IPC_STAT. | |
2606 | */ | |
2607 | #define HAS_UNION_SEMUN /**/ | |
2608 | /*#define USE_SEMCTL_SEMUN /**/ | |
2609 | /*#define USE_SEMCTL_SEMID_DS /**/ | |
2610 | ||
e2a02c1e VK |
2611 | /* HAS_UNORDERED: |
2612 | * This symbol, if defined, indicates that the unordered routine is | |
2613 | * available to check whether two doubles are unordered | |
2614 | * (effectively: whether either of them is NaN) | |
2615 | */ | |
2616 | /*#define HAS_UNORDERED /**/ | |
2617 | ||
1829b0dc VK |
2618 | /* HAS_UNSETENV: |
2619 | * This symbol, if defined, indicates that the unsetenv () routine is | |
2620 | * available for use. | |
2621 | */ | |
2622 | /*#define HAS_UNSETENV /**/ | |
2623 | ||
ea442100 JH |
2624 | /* HAS_USTAT: |
2625 | * This symbol, if defined, indicates that the ustat system call is | |
2626 | * available to query file system statistics by dev_t. | |
2627 | */ | |
2628 | /*#define HAS_USTAT /**/ | |
2629 | ||
e1caacb4 JH |
2630 | /* HAS_VFORK: |
2631 | * This symbol, if defined, indicates that vfork() exists. | |
2632 | */ | |
2633 | /*#define HAS_VFORK /**/ | |
2634 | ||
2635 | /* Signal_t: | |
2636 | * This symbol's value is either "void" or "int", corresponding to the | |
2637 | * appropriate return type of a signal handler. Thus, you can declare | |
2638 | * a signal handler using "Signal_t (*handler)()", and define the | |
2639 | * handler using "Signal_t handler(sig)". | |
2640 | */ | |
2641 | #define Signal_t void /* Signal handler's return type */ | |
2642 | ||
2643 | /* HAS_VPRINTF: | |
2644 | * This symbol, if defined, indicates that the vprintf routine is available | |
2645 | * to printf with a pointer to an argument list. If unavailable, you | |
2646 | * may need to write your own, probably in terms of _doprnt(). | |
2647 | */ | |
2648 | /* USE_CHAR_VSPRINTF: | |
2649 | * This symbol is defined if this system has vsprintf() returning type | |
2650 | * (char*). The trend seems to be to declare it as "int vsprintf()". It | |
2651 | * is up to the package author to declare vsprintf correctly based on the | |
2652 | * symbol. | |
2653 | */ | |
2654 | #define HAS_VPRINTF /**/ | |
2655 | /*#define USE_CHAR_VSPRINTF /**/ | |
2656 | ||
e2a02c1e VK |
2657 | /* HAS_WRITEV: |
2658 | * This symbol, if defined, indicates that the writev routine is | |
2659 | * available to do scatter writes. | |
2660 | */ | |
2661 | /*#define HAS_WRITEV /**/ | |
2662 | ||
e1caacb4 JH |
2663 | /* USE_DYNAMIC_LOADING: |
2664 | * This symbol, if defined, indicates that dynamic loading of | |
2665 | * some sort is available. | |
2666 | */ | |
2667 | #define USE_DYNAMIC_LOADING /**/ | |
2668 | ||
2669 | /* DOUBLESIZE: | |
2670 | * This symbol contains the size of a double, so that the C preprocessor | |
2671 | * can make decisions based on it. | |
2672 | */ | |
2673 | #define DOUBLESIZE 8 /**/ | |
2674 | ||
44521f3a JH |
2675 | /* DOUBLEINFBYTES: |
2676 | * This symbol, if defined, is a comma-separated list of | |
2677 | * hexadecimal bytes for the double precision infinity. | |
2678 | */ | |
2679 | /* DOUBLENANBYTES: | |
2680 | * This symbol, if defined, is a comma-separated list of | |
2681 | * hexadecimal bytes (0xHH) for the double precision not-a-number. | |
2682 | */ | |
2683 | /* LONGDBLINFBYTES: | |
2684 | * This symbol, if defined, is a comma-separated list of | |
2685 | * hexadecimal bytes for the long double precision infinity. | |
2686 | */ | |
2687 | /* LONGDBLNANBYTES: | |
2688 | * This symbol, if defined, is a comma-separated list of | |
2689 | * hexadecimal bytes (0xHH) for the long double precision not-a-number. | |
2690 | */ | |
2691 | #define DOUBLEINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/ | |
2692 | #define DOUBLENANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/ | |
2693 | #define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0x7f /**/ | |
2694 | #define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f /**/ | |
2695 | ||
ed3917fd JH |
2696 | /* DOUBLEMANTBITS: |
2697 | * This symbol, if defined, tells how many mantissa bits | |
2698 | * there are in double precision floating point format. | |
2699 | * Note that this is usually DBL_MANT_DIG minus one, since | |
2700 | * with the standard IEEE 754 formats DBL_MANT_DIG includes | |
2701 | * the implicit bit, which doesn't really exist. | |
2702 | */ | |
2703 | #define DOUBLEMANTBITS 52 | |
2704 | ||
2705 | /* LONGDBLMANTBITS: | |
2706 | * This symbol, if defined, tells how many mantissa bits | |
2707 | * there are in long double precision floating point format. | |
2708 | * Note that this can be LDBL_MANT_DIG minus one, | |
2709 | * since LDBL_MANT_DIG can include the IEEE 754 implicit bit. | |
2710 | * The common x86-style 80-bit long double does not have | |
2711 | * an implicit bit. | |
2712 | */ | |
2713 | #define LONGDBLMANTBITS 52 | |
2714 | ||
e1caacb4 JH |
2715 | /* EBCDIC: |
2716 | * This symbol, if defined, indicates that this system uses | |
2717 | * EBCDIC encoding. | |
2718 | */ | |
2719 | /*#define EBCDIC /**/ | |
2720 | ||
2721 | /* FFLUSH_NULL: | |
2722 | * This symbol, if defined, tells that fflush(NULL) does flush | |
2723 | * all pending stdio output. | |
2724 | */ | |
2725 | /* FFLUSH_ALL: | |
2726 | * This symbol, if defined, tells that to flush | |
2727 | * all pending stdio output one must loop through all | |
2728 | * the stdio file handles stored in an array and fflush them. | |
2729 | * Note that if fflushNULL is defined, fflushall will not | |
2730 | * even be probed for and will be left undefined. | |
2731 | */ | |
2732 | #define FFLUSH_NULL /**/ | |
2733 | /*#define FFLUSH_ALL /**/ | |
2734 | ||
2735 | /* Fpos_t: | |
2736 | * This symbol holds the type used to declare file positions in libc. | |
2737 | * It can be fpos_t, long, uint, etc... It may be necessary to include | |
2738 | * <sys/types.h> to get any typedef'ed information. | |
2739 | */ | |
2740 | #define Fpos_t fpos_t /* File position type */ | |
2741 | ||
2742 | /* Gid_t_f: | |
2743 | * This symbol defines the format string used for printing a Gid_t. | |
2744 | */ | |
2745 | #define Gid_t_f "ld" /**/ | |
2746 | ||
2747 | /* Gid_t_sign: | |
2748 | * This symbol holds the signedess of a Gid_t. | |
2749 | * 1 for unsigned, -1 for signed. | |
2750 | */ | |
2751 | #define Gid_t_sign -1 /* GID sign */ | |
2752 | ||
2753 | /* Gid_t_size: | |
2754 | * This symbol holds the size of a Gid_t in bytes. | |
2755 | */ | |
2756 | #define Gid_t_size 4 /* GID size */ | |
2757 | ||
2758 | /* Gid_t: | |
2759 | * This symbol holds the return type of getgid() and the type of | |
2760 | * argument to setrgid() and related functions. Typically, | |
2761 | * it is the type of group ids in the kernel. It can be int, ushort, | |
2762 | * gid_t, etc... It may be necessary to include <sys/types.h> to get | |
2763 | * any typedef'ed information. | |
2764 | */ | |
2765 | #define Gid_t gid_t /* Type for getgid(), etc... */ | |
2766 | ||
2767 | /* Groups_t: | |
2768 | * This symbol holds the type used for the second argument to | |
2769 | * getgroups() and setgroups(). Usually, this is the same as | |
2770 | * gidtype (gid_t) , but sometimes it isn't. | |
f4257e4d YO |
2771 | * It can be int, ushort, gid_t, etc... |
2772 | * It may be necessary to include <sys/types.h> to get any | |
e1caacb4 JH |
2773 | * typedef'ed information. This is only required if you have |
2774 | * getgroups() or setgroups().. | |
2775 | */ | |
2776 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) | |
2777 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ | |
2778 | #endif | |
2779 | ||
2780 | /* DB_Prefix_t: | |
2781 | * This symbol contains the type of the prefix structure element | |
2782 | * in the <db.h> header file. In older versions of DB, it was | |
2783 | * int, while in newer ones it is u_int32_t. | |
2784 | */ | |
2785 | /* DB_Hash_t: | |
2786 | * This symbol contains the type of the prefix structure element | |
2787 | * in the <db.h> header file. In older versions of DB, it was | |
2788 | * int, while in newer ones it is size_t. | |
2789 | */ | |
e2a02c1e VK |
2790 | /* DB_VERSION_MAJOR_CFG: |
2791 | * This symbol, if defined, defines the major version number of | |
2792 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2793 | */ | |
2794 | /* DB_VERSION_MINOR_CFG: | |
2795 | * This symbol, if defined, defines the minor version number of | |
2796 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2797 | * For DB version 1 this is always 0. | |
2798 | */ | |
2799 | /* DB_VERSION_PATCH_CFG: | |
2800 | * This symbol, if defined, defines the patch version number of | |
2801 | * Berkeley DB found in the <db.h> header when Perl was configured. | |
2802 | * For DB version 1 this is always 0. | |
2803 | */ | |
e1caacb4 JH |
2804 | #define DB_Hash_t int /**/ |
2805 | #define DB_Prefix_t int /**/ | |
e2a02c1e VK |
2806 | #define DB_VERSION_MAJOR_CFG undef /**/ |
2807 | #define DB_VERSION_MINOR_CFG undef /**/ | |
2808 | #define DB_VERSION_PATCH_CFG undef /**/ | |
2809 | ||
2810 | /* I_FP_CLASS: | |
2811 | * This symbol, if defined, indicates that <fp_class.h> exists and | |
2812 | * should be included. | |
2813 | */ | |
2814 | /*#define I_FP_CLASS /**/ | |
e1caacb4 JH |
2815 | |
2816 | /* I_GRP: | |
2817 | * This symbol, if defined, indicates to the C program that it should | |
2818 | * include <grp.h>. | |
2819 | */ | |
2820 | /* GRPASSWD: | |
2821 | * This symbol, if defined, indicates to the C program that struct group | |
2822 | * in <grp.h> contains gr_passwd. | |
2823 | */ | |
2824 | /*#define I_GRP /**/ | |
2825 | /*#define GRPASSWD /**/ | |
2826 | ||
e1caacb4 JH |
2827 | /* I_IEEEFP: |
2828 | * This symbol, if defined, indicates that <ieeefp.h> exists and | |
2829 | * should be included. | |
2830 | */ | |
2831 | /*#define I_IEEEFP /**/ | |
2832 | ||
2833 | /* I_INTTYPES: | |
2834 | * This symbol, if defined, indicates to the C program that it should | |
2835 | * include <inttypes.h>. | |
2836 | */ | |
2837 | /*#define I_INTTYPES /**/ | |
2838 | ||
e2a02c1e VK |
2839 | /* I_LIBUTIL: |
2840 | * This symbol, if defined, indicates that <libutil.h> exists and | |
2841 | * should be included. | |
2842 | */ | |
2843 | /*#define I_LIBUTIL /**/ | |
2844 | ||
e1caacb4 JH |
2845 | /* I_MACH_CTHREADS: |
2846 | * This symbol, if defined, indicates to the C program that it should | |
2847 | * include <mach/cthreads.h>. | |
2848 | */ | |
2849 | /*#define I_MACH_CTHREADS /**/ | |
2850 | ||
ea442100 JH |
2851 | /* I_MNTENT: |
2852 | * This symbol, if defined, indicates that <mntent.h> exists and | |
2853 | * should be included. | |
2854 | */ | |
2855 | /*#define I_MNTENT /**/ | |
2856 | ||
e1caacb4 JH |
2857 | /* I_NETDB: |
2858 | * This symbol, if defined, indicates that <netdb.h> exists and | |
2859 | * should be included. | |
2860 | */ | |
2861 | /*#define I_NETDB /**/ | |
2862 | ||
2863 | /* I_NETINET_TCP: | |
2864 | * This symbol, if defined, indicates to the C program that it should | |
2865 | * include <netinet/tcp.h>. | |
2866 | */ | |
2867 | /*#define I_NETINET_TCP /**/ | |
2868 | ||
2869 | /* I_POLL: | |
2870 | * This symbol, if defined, indicates that <poll.h> exists and | |
2871 | * should be included. | |
2872 | */ | |
2873 | /*#define I_POLL /**/ | |
2874 | ||
e2a02c1e VK |
2875 | /* I_PROT: |
2876 | * This symbol, if defined, indicates that <prot.h> exists and | |
2877 | * should be included. | |
2878 | */ | |
2879 | /*#define I_PROT /**/ | |
2880 | ||
e1caacb4 JH |
2881 | /* I_PTHREAD: |
2882 | * This symbol, if defined, indicates to the C program that it should | |
2883 | * include <pthread.h>. | |
2884 | */ | |
2885 | /*#define I_PTHREAD /**/ | |
2886 | ||
2887 | /* I_PWD: | |
2888 | * This symbol, if defined, indicates to the C program that it should | |
2889 | * include <pwd.h>. | |
2890 | */ | |
2891 | /* PWQUOTA: | |
2892 | * This symbol, if defined, indicates to the C program that struct passwd | |
2893 | * contains pw_quota. | |
2894 | */ | |
2895 | /* PWAGE: | |
2896 | * This symbol, if defined, indicates to the C program that struct passwd | |
2897 | * contains pw_age. | |
2898 | */ | |
2899 | /* PWCHANGE: | |
2900 | * This symbol, if defined, indicates to the C program that struct passwd | |
2901 | * contains pw_change. | |
2902 | */ | |
2903 | /* PWCLASS: | |
2904 | * This symbol, if defined, indicates to the C program that struct passwd | |
2905 | * contains pw_class. | |
2906 | */ | |
2907 | /* PWEXPIRE: | |
2908 | * This symbol, if defined, indicates to the C program that struct passwd | |
2909 | * contains pw_expire. | |
2910 | */ | |
2911 | /* PWCOMMENT: | |
2912 | * This symbol, if defined, indicates to the C program that struct passwd | |
2913 | * contains pw_comment. | |
2914 | */ | |
2915 | /* PWGECOS: | |
2916 | * This symbol, if defined, indicates to the C program that struct passwd | |
2917 | * contains pw_gecos. | |
2918 | */ | |
2919 | /* PWPASSWD: | |
2920 | * This symbol, if defined, indicates to the C program that struct passwd | |
2921 | * contains pw_passwd. | |
2922 | */ | |
2923 | /*#define I_PWD /**/ | |
2924 | /*#define PWQUOTA /**/ | |
2925 | /*#define PWAGE /**/ | |
2926 | /*#define PWCHANGE /**/ | |
2927 | /*#define PWCLASS /**/ | |
2928 | /*#define PWEXPIRE /**/ | |
2929 | /*#define PWCOMMENT /**/ | |
2930 | /*#define PWGECOS /**/ | |
2931 | /*#define PWPASSWD /**/ | |
2932 | ||
2933 | /* I_SHADOW: | |
2934 | * This symbol, if defined, indicates that <shadow.h> exists and | |
2935 | * should be included. | |
2936 | */ | |
2937 | /*#define I_SHADOW /**/ | |
2938 | ||
2939 | /* I_SOCKS: | |
2940 | * This symbol, if defined, indicates that <socks.h> exists and | |
2941 | * should be included. | |
2942 | */ | |
2943 | /*#define I_SOCKS /**/ | |
2944 | ||
2945 | /* I_SUNMATH: | |
2946 | * This symbol, if defined, indicates that <sunmath.h> exists and | |
2947 | * should be included. | |
2948 | */ | |
2949 | /*#define I_SUNMATH /**/ | |
2950 | ||
2951 | /* I_SYSLOG: | |
2952 | * This symbol, if defined, indicates that <syslog.h> exists and | |
2953 | * should be included. | |
2954 | */ | |
2955 | /*#define I_SYSLOG /**/ | |
2956 | ||
2957 | /* I_SYSMODE: | |
2958 | * This symbol, if defined, indicates that <sys/mode.h> exists and | |
2959 | * should be included. | |
2960 | */ | |
2961 | /*#define I_SYSMODE /**/ | |
2962 | ||
ea442100 JH |
2963 | /* I_SYS_MOUNT: |
2964 | * This symbol, if defined, indicates that <sys/mount.h> exists and | |
2965 | * should be included. | |
2966 | */ | |
2967 | /*#define I_SYS_MOUNT /**/ | |
2968 | ||
2969 | /* I_SYS_STATFS: | |
2970 | * This symbol, if defined, indicates that <sys/statfs.h> exists. | |
2971 | */ | |
2972 | /*#define I_SYS_STATFS /**/ | |
2973 | ||
2974 | /* I_SYS_STATVFS: | |
2975 | * This symbol, if defined, indicates that <sys/statvfs.h> exists and | |
2976 | * should be included. | |
2977 | */ | |
2978 | /*#define I_SYS_STATVFS /**/ | |
2979 | ||
e1caacb4 JH |
2980 | /* I_SYSUIO: |
2981 | * This symbol, if defined, indicates that <sys/uio.h> exists and | |
2982 | * should be included. | |
2983 | */ | |
2984 | /*#define I_SYSUIO /**/ | |
2985 | ||
2986 | /* I_SYSUTSNAME: | |
2987 | * This symbol, if defined, indicates that <sys/utsname.h> exists and | |
2988 | * should be included. | |
2989 | */ | |
2990 | /*#define I_SYSUTSNAME /**/ | |
2991 | ||
ea442100 JH |
2992 | /* I_SYS_VFS: |
2993 | * This symbol, if defined, indicates that <sys/vfs.h> exists and | |
2994 | * should be included. | |
2995 | */ | |
2996 | /*#define I_SYS_VFS /**/ | |
2997 | ||
e1caacb4 JH |
2998 | /* I_TIME: |
2999 | * This symbol, if defined, indicates to the C program that it should | |
3000 | * include <time.h>. | |
3001 | */ | |
3002 | /* I_SYS_TIME: | |
3003 | * This symbol, if defined, indicates to the C program that it should | |
3004 | * include <sys/time.h>. | |
3005 | */ | |
3006 | /* I_SYS_TIME_KERNEL: | |
3007 | * This symbol, if defined, indicates to the C program that it should | |
3008 | * include <sys/time.h> with KERNEL defined. | |
3009 | */ | |
e2a02c1e VK |
3010 | /* HAS_TM_TM_ZONE: |
3011 | * This symbol, if defined, indicates to the C program that | |
3012 | * the struct tm has a tm_zone field. | |
3013 | */ | |
1829b0dc VK |
3014 | /* HAS_TM_TM_GMTOFF: |
3015 | * This symbol, if defined, indicates to the C program that | |
3016 | * the struct tm has a tm_gmtoff field. | |
3017 | */ | |
e2a02c1e | 3018 | /*#define I_TIME /**/ |
e1caacb4 JH |
3019 | /*#define I_SYS_TIME /**/ |
3020 | /*#define I_SYS_TIME_KERNEL /**/ | |
e2a02c1e | 3021 | /*#define HAS_TM_TM_ZONE /**/ |
1829b0dc | 3022 | /*#define HAS_TM_TM_GMTOFF /**/ |
e1caacb4 | 3023 | |
ea442100 JH |
3024 | /* I_USTAT: |
3025 | * This symbol, if defined, indicates that <ustat.h> exists and | |
3026 | * should be included. | |
3027 | */ | |
3028 | /*#define I_USTAT /**/ | |
3029 | ||
e1caacb4 JH |
3030 | /* PERL_INC_VERSION_LIST: |
3031 | * This variable specifies the list of subdirectories in over | |
3032 | * which perl.c:incpush() and lib/lib.pm will automatically | |
3033 | * search when adding directories to @INC, in a format suitable | |
3034 | * for a C initialization string. See the inc_version_list entry | |
3035 | * in Porting/Glossary for more details. | |
3036 | */ | |
3037 | #define PERL_INC_VERSION_LIST 0 /**/ | |
3038 | ||
3039 | /* INSTALL_USR_BIN_PERL: | |
3040 | * This symbol, if defined, indicates that Perl is to be installed | |
3041 | * also as /usr/bin/perl. | |
3042 | */ | |
3043 | /*#define INSTALL_USR_BIN_PERL /**/ | |
3044 | ||
3045 | /* PERL_PRIfldbl: | |
3046 | * This symbol, if defined, contains the string used by stdio to | |
3047 | * format long doubles (format 'f') for output. | |
3048 | */ | |
3049 | /* PERL_PRIgldbl: | |
3050 | * This symbol, if defined, contains the string used by stdio to | |
3051 | * format long doubles (format 'g') for output. | |
3052 | */ | |
e2a02c1e VK |
3053 | /* PERL_PRIeldbl: |
3054 | * This symbol, if defined, contains the string used by stdio to | |
3055 | * format long doubles (format 'e') for output. | |
3056 | */ | |
3057 | /* PERL_SCNfldbl: | |
3058 | * This symbol, if defined, contains the string used by stdio to | |
3059 | * format long doubles (format 'f') for input. | |
3060 | */ | |
e1caacb4 JH |
3061 | /*#define PERL_PRIfldbl "f" /**/ |
3062 | /*#define PERL_PRIgldbl "g" /**/ | |
e2a02c1e VK |
3063 | /*#define PERL_PRIeldbl "e" /**/ |
3064 | /*#define PERL_SCNfldbl undef /**/ | |
e1caacb4 JH |
3065 | |
3066 | /* Off_t: | |
3067 | * This symbol holds the type used to declare offsets in the kernel. | |
3068 | * It can be int, long, off_t, etc... It may be necessary to include | |
3069 | * <sys/types.h> to get any typedef'ed information. | |
3070 | */ | |
3071 | /* LSEEKSIZE: | |
3072 | * This symbol holds the number of bytes used by the Off_t. | |
3073 | */ | |
3074 | /* Off_t_size: | |
3075 | * This symbol holds the number of bytes used by the Off_t. | |
3076 | */ | |
e2a02c1e | 3077 | #define Off_t long /* <offset> type */ |
e1caacb4 JH |
3078 | #define LSEEKSIZE 4 /* <offset> size */ |
3079 | #define Off_t_size 4 /* <offset> size */ | |
3080 | ||
3081 | /* Free_t: | |
3082 | * This variable contains the return type of free(). It is usually | |
3083 | * void, but occasionally int. | |
3084 | */ | |
3085 | /* Malloc_t: | |
3086 | * This symbol is the type of pointer returned by malloc and realloc. | |
3087 | */ | |
3088 | #define Malloc_t void * /**/ | |
3089 | #define Free_t void /**/ | |
3090 | ||
1829b0dc VK |
3091 | /* PERL_MALLOC_WRAP: |
3092 | * This symbol, if defined, indicates that we'd like malloc wrap checks. | |
3093 | */ | |
3094 | #define PERL_MALLOC_WRAP /**/ | |
3095 | ||
e1caacb4 JH |
3096 | /* MYMALLOC: |
3097 | * This symbol, if defined, indicates that we're using our own malloc. | |
3098 | */ | |
1829b0dc | 3099 | #define MYMALLOC /**/ |
e1caacb4 JH |
3100 | |
3101 | /* Mode_t: | |
f4257e4d | 3102 | * This symbol holds the type used to declare file modes |
e1caacb4 JH |
3103 | * for systems calls. It is usually mode_t, but may be |
3104 | * int or unsigned short. It may be necessary to include <sys/types.h> | |
3105 | * to get any typedef'ed information. | |
3106 | */ | |
3107 | #define Mode_t mode_t /* file mode parameter for system calls */ | |
3108 | ||
3109 | /* VAL_O_NONBLOCK: | |
3110 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on | |
3111 | * non-blocking I/O for the file descriptor. Note that there is no way | |
3112 | * back, i.e. you cannot turn it blocking again this way. If you wish to | |
3113 | * alternatively switch between blocking and non-blocking, use the | |
3114 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. | |
3115 | */ | |
3116 | /* VAL_EAGAIN: | |
3117 | * This symbol holds the errno error code set by read() when no data was | |
3118 | * present on the non-blocking file descriptor. | |
3119 | */ | |
3120 | /* RD_NODATA: | |
3121 | * This symbol holds the return code from read() when no data is present | |
3122 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is | |
3123 | * not defined, then you can't distinguish between no data and EOF by | |
3124 | * issuing a read(). You'll have to find another way to tell for sure! | |
3125 | */ | |
3126 | /* EOF_NONBLOCK: | |
3127 | * This symbol, if defined, indicates to the C program that a read() on | |
3128 | * a non-blocking file descriptor will return 0 on EOF, and not the value | |
3129 | * held in RD_NODATA (-1 usually, in that case!). | |
3130 | */ | |
3131 | #define VAL_O_NONBLOCK O_NONBLOCK | |
3132 | #define VAL_EAGAIN EAGAIN | |
3133 | #define RD_NODATA -1 | |
3134 | #define EOF_NONBLOCK | |
3135 | ||
e2a02c1e VK |
3136 | /* NEED_VA_COPY: |
3137 | * This symbol, if defined, indicates that the system stores | |
3138 | * the variable argument list datatype, va_list, in a format | |
3139 | * that cannot be copied by simple assignment, so that some | |
3140 | * other means must be used when copying is required. | |
3141 | * As such systems vary in their provision (or non-provision) | |
3142 | * of copying mechanisms, handy.h defines a platform- | |
3143 | * independent macro, Perl_va_copy(src, dst), to do the job. | |
3144 | */ | |
3145 | /*#define NEED_VA_COPY /**/ | |
3146 | ||
e1caacb4 JH |
3147 | /* Netdb_host_t: |
3148 | * This symbol holds the type used for the 1st argument | |
3149 | * to gethostbyaddr(). | |
3150 | */ | |
3151 | /* Netdb_hlen_t: | |
3152 | * This symbol holds the type used for the 2nd argument | |
3153 | * to gethostbyaddr(). | |
3154 | */ | |
3155 | /* Netdb_name_t: | |
3156 | * This symbol holds the type used for the argument to | |
3157 | * gethostbyname(). | |
3158 | */ | |
3159 | /* Netdb_net_t: | |
3160 | * This symbol holds the type used for the 1st argument to | |
3161 | * getnetbyaddr(). | |
3162 | */ | |
3163 | #define Netdb_host_t char * /**/ | |
3164 | #define Netdb_hlen_t int /**/ | |
3165 | #define Netdb_name_t char * /**/ | |
3166 | #define Netdb_net_t long /**/ | |
3167 | ||
e2a02c1e VK |
3168 | /* PERL_OTHERLIBDIRS: |
3169 | * This variable contains a colon-separated set of paths for the perl | |
3170 | * binary to search for additional library files or modules. | |
3171 | * These directories will be tacked to the end of @INC. | |
3172 | * Perl will automatically search below each path for version- | |
3173 | * and architecture-specific directories. See PERL_INC_VERSION_LIST | |
3174 | * for more details. | |
3175 | */ | |
3176 | /*#define PERL_OTHERLIBDIRS "" /**/ | |
3177 | ||
1829b0dc VK |
3178 | /* HAS_QUAD: |
3179 | * This symbol, if defined, tells that there's a 64-bit integer type, | |
3180 | * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one | |
3181 | * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. | |
3182 | */ | |
3183 | /*#define HAS_QUAD /**/ | |
3184 | #ifdef HAS_QUAD | |
3185 | # define Quad_t __int64 /**/ | |
3186 | # define Uquad_t unsigned __int64 /**/ | |
3187 | # define QUADKIND 5 /**/ | |
3188 | # define QUAD_IS_INT 1 | |
3189 | # define QUAD_IS_LONG 2 | |
3190 | # define QUAD_IS_LONG_LONG 3 | |
3191 | # define QUAD_IS_INT64_T 4 | |
3192 | #endif | |
3193 | ||
e1caacb4 JH |
3194 | /* IVTYPE: |
3195 | * This symbol defines the C type used for Perl's IV. | |
3196 | */ | |
3197 | /* UVTYPE: | |
3198 | * This symbol defines the C type used for Perl's UV. | |
3199 | */ | |
3200 | /* I8TYPE: | |
3201 | * This symbol defines the C type used for Perl's I8. | |
3202 | */ | |
3203 | /* U8TYPE: | |
3204 | * This symbol defines the C type used for Perl's U8. | |
3205 | */ | |
3206 | /* I16TYPE: | |
3207 | * This symbol defines the C type used for Perl's I16. | |
3208 | */ | |
3209 | /* U16TYPE: | |
3210 | * This symbol defines the C type used for Perl's U16. | |
3211 | */ | |
3212 | /* I32TYPE: | |
3213 | * This symbol defines the C type used for Perl's I32. | |
3214 | */ | |
3215 | /* U32TYPE: | |
3216 | * This symbol defines the C type used for Perl's U32. | |
3217 | */ | |
3218 | /* I64TYPE: | |
3219 | * This symbol defines the C type used for Perl's I64. | |
3220 | */ | |
3221 | /* U64TYPE: | |
3222 | * This symbol defines the C type used for Perl's U64. | |
3223 | */ | |
3224 | /* NVTYPE: | |
3225 | * This symbol defines the C type used for Perl's NV. | |
3226 | */ | |
3227 | /* IVSIZE: | |
3228 | * This symbol contains the sizeof(IV). | |
3229 | */ | |
3230 | /* UVSIZE: | |
3231 | * This symbol contains the sizeof(UV). | |
3232 | */ | |
3233 | /* I8SIZE: | |
3234 | * This symbol contains the sizeof(I8). | |
3235 | */ | |
3236 | /* U8SIZE: | |
3237 | * This symbol contains the sizeof(U8). | |
3238 | */ | |
3239 | /* I16SIZE: | |
3240 | * This symbol contains the sizeof(I16). | |
3241 | */ | |
3242 | /* U16SIZE: | |
3243 | * This symbol contains the sizeof(U16). | |
3244 | */ | |
3245 | /* I32SIZE: | |
3246 | * This symbol contains the sizeof(I32). | |
3247 | */ | |
3248 | /* U32SIZE: | |
3249 | * This symbol contains the sizeof(U32). | |
3250 | */ | |
3251 | /* I64SIZE: | |
3252 | * This symbol contains the sizeof(I64). | |
3253 | */ | |
3254 | /* U64SIZE: | |
3255 | * This symbol contains the sizeof(U64). | |
3256 | */ | |
e2a02c1e VK |
3257 | /* NVSIZE: |
3258 | * This symbol contains the sizeof(NV). | |
3259 | */ | |
e1caacb4 JH |
3260 | /* NV_PRESERVES_UV: |
3261 | * This symbol, if defined, indicates that a variable of type NVTYPE | |
e2a02c1e VK |
3262 | * can preserve all the bits of a variable of type UVTYPE. |
3263 | */ | |
3264 | /* NV_PRESERVES_UV_BITS: | |
3265 | * This symbol contains the number of bits a variable of type NVTYPE | |
3266 | * can preserve of a variable of type UVTYPE. | |
e1caacb4 | 3267 | */ |
7ea95017 NC |
3268 | /* NV_OVERFLOWS_INTEGERS_AT |
3269 | * This symbol gives the largest integer value that NVs can hold. This | |
3270 | * value + 1.0 cannot be stored accurately. It is expressed as constant | |
3271 | * floating point expression to reduce the chance of decimale/binary | |
3272 | * conversion issues. If it can not be determined, the value 0 is given. | |
3273 | */ | |
3274 | /* NV_ZERO_IS_ALLBITS_ZERO | |
1829b0dc VK |
3275 | * This symbol, if defined, indicates that a variable of type NVTYPE |
3276 | * stores 0.0 in memory as all bits zero. | |
3277 | */ | |
e1caacb4 JH |
3278 | #define IVTYPE long /**/ |
3279 | #define UVTYPE unsigned long /**/ | |
3280 | #define I8TYPE char /**/ | |
3281 | #define U8TYPE unsigned char /**/ | |
3282 | #define I16TYPE short /**/ | |
3283 | #define U16TYPE unsigned short /**/ | |
3284 | #define I32TYPE long /**/ | |
3285 | #define U32TYPE unsigned long /**/ | |
3286 | #ifdef HAS_QUAD | |
3287 | #define I64TYPE __int64 /**/ | |
3288 | #define U64TYPE unsigned __int64 /**/ | |
3289 | #endif | |
3290 | #define NVTYPE double /**/ | |
3291 | #define IVSIZE 4 /**/ | |
3292 | #define UVSIZE 4 /**/ | |
3293 | #define I8SIZE 1 /**/ | |
3294 | #define U8SIZE 1 /**/ | |
3295 | #define I16SIZE 2 /**/ | |
3296 | #define U16SIZE 2 /**/ | |
3297 | #define I32SIZE 4 /**/ | |
3298 | #define U32SIZE 4 /**/ | |
3299 | #ifdef HAS_QUAD | |
3300 | #define I64SIZE 8 /**/ | |
3301 | #define U64SIZE 8 /**/ | |
3302 | #endif | |
e2a02c1e | 3303 | #define NVSIZE 8 /**/ |
e1caacb4 | 3304 | #define NV_PRESERVES_UV |
e2a02c1e | 3305 | #define NV_PRESERVES_UV_BITS undef |
7ea95017 | 3306 | #define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0 |
1829b0dc VK |
3307 | #undef NV_ZERO_IS_ALLBITS_ZERO |
3308 | #if UVSIZE == 8 | |
3309 | # ifdef BYTEORDER | |
3310 | # if BYTEORDER == 0x1234 | |
3311 | # undef BYTEORDER | |
3312 | # define BYTEORDER 0x12345678 | |
3313 | # else | |
3314 | # if BYTEORDER == 0x4321 | |
3315 | # undef BYTEORDER | |
3316 | # define BYTEORDER 0x87654321 | |
3317 | # endif | |
3318 | # endif | |
3319 | # endif | |
3320 | #endif | |
e1caacb4 JH |
3321 | |
3322 | /* IVdf: | |
3323 | * This symbol defines the format string used for printing a Perl IV | |
3324 | * as a signed decimal integer. | |
3325 | */ | |
3326 | /* UVuf: | |
3327 | * This symbol defines the format string used for printing a Perl UV | |
3328 | * as an unsigned decimal integer. | |
3329 | */ | |
3330 | /* UVof: | |
3331 | * This symbol defines the format string used for printing a Perl UV | |
3332 | * as an unsigned octal integer. | |
3333 | */ | |
3334 | /* UVxf: | |
3335 | * This symbol defines the format string used for printing a Perl UV | |
e2a02c1e VK |
3336 | * as an unsigned hexadecimal integer in lowercase abcdef. |
3337 | */ | |
3338 | /* UVXf: | |
3339 | * This symbol defines the format string used for printing a Perl UV | |
3340 | * as an unsigned hexadecimal integer in uppercase ABCDEF. | |
3341 | */ | |
3342 | /* NVef: | |
3343 | * This symbol defines the format string used for printing a Perl NV | |
3344 | * using %e-ish floating point format. | |
3345 | */ | |
3346 | /* NVff: | |
3347 | * This symbol defines the format string used for printing a Perl NV | |
3348 | * using %f-ish floating point format. | |
3349 | */ | |
3350 | /* NVgf: | |
3351 | * This symbol defines the format string used for printing a Perl NV | |
3352 | * using %g-ish floating point format. | |
e1caacb4 JH |
3353 | */ |
3354 | #define IVdf "ld" /**/ | |
3355 | #define UVuf "lu" /**/ | |
3356 | #define UVof "lo" /**/ | |
3357 | #define UVxf "lx" /**/ | |
fefd7080 | 3358 | #define UVXf "lX" /**/ |
e2a02c1e VK |
3359 | #define NVef "e" /**/ |
3360 | #define NVff "f" /**/ | |
3361 | #define NVgf "g" /**/ | |
e1caacb4 JH |
3362 | |
3363 | /* Pid_t: | |
3364 | * This symbol holds the type used to declare process ids in the kernel. | |
3365 | * It can be int, uint, pid_t, etc... It may be necessary to include | |
3366 | * <sys/types.h> to get any typedef'ed information. | |
3367 | */ | |
3368 | #define Pid_t int /* PID type */ | |
3369 | ||
3370 | /* PRIVLIB: | |
3371 | * This symbol contains the name of the private library for this package. | |
3372 | * The library is private in the sense that it needn't be in anyone's | |
3373 | * execution path, but it should be accessible by the world. The program | |
3374 | * should be prepared to do ~ expansion. | |
3375 | */ | |
3376 | /* PRIVLIB_EXP: | |
3377 | * This symbol contains the ~name expanded version of PRIVLIB, to be used | |
3378 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3379 | */ | |
1829b0dc | 3380 | #define PRIVLIB "\\Storage Card\\perl58m\\lib" /**/ |
1c68cbf7 | 3381 | #define PRIVLIB_EXP (PerlEnv_lib_path(PERL_VERSION_STRING, NULL)) /**/ |
e1caacb4 JH |
3382 | |
3383 | /* PTRSIZE: | |
3384 | * This symbol contains the size of a pointer, so that the C preprocessor | |
3385 | * can make decisions based on it. It will be sizeof(void *) if | |
3386 | * the compiler supports (void *); otherwise it will be | |
3387 | * sizeof(char *). | |
3388 | */ | |
3389 | #define PTRSIZE 4 /**/ | |
3390 | ||
3391 | /* Drand01: | |
3392 | * This macro is to be used to generate uniformly distributed | |
3393 | * random numbers over the range [0., 1.[. You may have to supply | |
3394 | * an 'extern double drand48();' in your program since SunOS 4.1.3 | |
e2a02c1e | 3395 | * doesn't provide you with anything relevant in its headers. |
e1caacb4 JH |
3396 | * See HAS_DRAND48_PROTO. |
3397 | */ | |
3398 | /* Rand_seed_t: | |
3399 | * This symbol defines the type of the argument of the | |
3400 | * random seed function. | |
3401 | */ | |
3402 | /* seedDrand01: | |
3403 | * This symbol defines the macro to be used in seeding the | |
3404 | * random number generator (see Drand01). | |
3405 | */ | |
3406 | /* RANDBITS: | |
3407 | * This symbol indicates how many bits are produced by the | |
3408 | * function used to generate normalized random numbers. | |
3409 | * Values include 15, 16, 31, and 48. | |
3410 | */ | |
3411 | #define Drand01() (rand()/(double)((unsigned)1<<RANDBITS)) /**/ | |
3412 | #define Rand_seed_t unsigned /**/ | |
3413 | #define seedDrand01(x) srand((Rand_seed_t)x) /**/ | |
3414 | #define RANDBITS 15 /**/ | |
3415 | ||
3416 | /* SELECT_MIN_BITS: | |
3417 | * This symbol holds the minimum number of bits operated by select. | |
3418 | * That is, if you do select(n, ...), how many bits at least will be | |
3419 | * cleared in the masks if some activity is detected. Usually this | |
3420 | * is either n or 32*ceil(n/32), especially many little-endians do | |
3421 | * the latter. This is only useful if you have select(), naturally. | |
3422 | */ | |
3423 | #define SELECT_MIN_BITS 32 /**/ | |
3424 | ||
3425 | /* Select_fd_set_t: | |
3426 | * This symbol holds the type used for the 2nd, 3rd, and 4th | |
3427 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET | |
f4257e4d | 3428 | * is defined, and 'int *' otherwise. This is only useful if you |
e1caacb4 JH |
3429 | * have select(), of course. |
3430 | */ | |
3431 | #define Select_fd_set_t Perl_fd_set * /**/ | |
3432 | ||
3433 | /* SIG_NAME: | |
3434 | * This symbol contains a list of signal names in order of | |
3435 | * signal number. This is intended | |
3436 | * to be used as a static array initialization, like this: | |
3437 | * char *sig_name[] = { SIG_NAME }; | |
3438 | * The signals in the list are separated with commas, and each signal | |
3439 | * is surrounded by double quotes. There is no leading SIG in the signal | |
3440 | * name, i.e. SIGQUIT is known as "QUIT". | |
3441 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, | |
3442 | * etc., where nn is the actual signal number (e.g. NUM37). | |
3443 | * The signal number for sig_name[i] is stored in sig_num[i]. | |
3444 | * The last element is 0 to terminate the list with a NULL. This | |
1829b0dc VK |
3445 | * corresponds to the 0 at the end of the sig_name_init list. |
3446 | * Note that this variable is initialized from the sig_name_init, | |
3447 | * not from sig_name (which is unused). | |
e1caacb4 JH |
3448 | */ |
3449 | /* SIG_NUM: | |
3450 | * This symbol contains a list of signal numbers, in the same order as the | |
3451 | * SIG_NAME list. It is suitable for static array initialization, as in: | |
3452 | * int sig_num[] = { SIG_NUM }; | |
3453 | * The signals in the list are separated with commas, and the indices | |
3454 | * within that list and the SIG_NAME list match, so it's easy to compute | |
3455 | * the signal name from a number or vice versa at the price of a small | |
f4257e4d | 3456 | * dynamic linear lookup. |
e1caacb4 JH |
3457 | * Duplicates are allowed, but are moved to the end of the list. |
3458 | * The signal number corresponding to sig_name[i] is sig_number[i]. | |
f4257e4d | 3459 | * if (i < NSIG) then sig_number[i] == i. |
e1caacb4 | 3460 | * The last element is 0, corresponding to the 0 at the end of |
1829b0dc VK |
3461 | * the sig_name_init list. |
3462 | * Note that this variable is initialized from the sig_num_init, | |
3463 | * not from sig_num (which is unused). | |
e1caacb4 | 3464 | */ |
e2a02c1e | 3465 | /* SIG_SIZE: |
4492b098 JH |
3466 | * This variable contains the number of elements of the SIG_NAME |
3467 | * and SIG_NUM arrays, excluding the final NULL entry. | |
e2a02c1e | 3468 | */ |
e1caacb4 JH |
3469 | #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 /**/ |
3470 | #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 /**/ | |
1829b0dc | 3471 | #define SIG_SIZE 27 /**/ |
e1caacb4 JH |
3472 | |
3473 | /* SITEARCH: | |
3474 | * This symbol contains the name of the private library for this package. | |
3475 | * The library is private in the sense that it needn't be in anyone's | |
3476 | * execution path, but it should be accessible by the world. The program | |
3477 | * should be prepared to do ~ expansion. | |
3478 | * The standard distribution will put nothing in this directory. | |
3479 | * After perl has been installed, users may install their own local | |
3480 | * architecture-dependent modules in this directory with | |
3481 | * MakeMaker Makefile.PL | |
3482 | * or equivalent. See INSTALL for details. | |
3483 | */ | |
3484 | /* SITEARCH_EXP: | |
3485 | * This symbol contains the ~name expanded version of SITEARCH, to be used | |
3486 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3487 | */ | |
1829b0dc | 3488 | #define SITEARCH "\\Storage Card\\perl58m\\site\\lib" /**/ |
e1caacb4 JH |
3489 | /*#define SITEARCH_EXP "" /**/ |
3490 | ||
3491 | /* SITELIB: | |
3492 | * This symbol contains the name of the private library for this package. | |
3493 | * The library is private in the sense that it needn't be in anyone's | |
3494 | * execution path, but it should be accessible by the world. The program | |
3495 | * should be prepared to do ~ expansion. | |
3496 | * The standard distribution will put nothing in this directory. | |
3497 | * After perl has been installed, users may install their own local | |
3498 | * architecture-independent modules in this directory with | |
3499 | * MakeMaker Makefile.PL | |
3500 | * or equivalent. See INSTALL for details. | |
3501 | */ | |
3502 | /* SITELIB_EXP: | |
3503 | * This symbol contains the ~name expanded version of SITELIB, to be used | |
3504 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3505 | */ | |
3506 | /* SITELIB_STEM: | |
3507 | * This define is SITELIB_EXP with any trailing version-specific component | |
3508 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3509 | * be tacked onto this variable to generate a list of directories to search. | |
3510 | */ | |
1829b0dc | 3511 | #define SITELIB "\\Storage Card\\perl58m\\site\\lib" /**/ |
1c68cbf7 | 3512 | #define SITELIB_EXP (PerlEnv_sitelib_path(PERL_VERSION_STRING, NULL)) /**/ |
e1caacb4 JH |
3513 | #define SITELIB_STEM "" /**/ |
3514 | ||
3515 | /* Size_t_size: | |
3516 | * This symbol holds the size of a Size_t in bytes. | |
3517 | */ | |
3518 | #define Size_t_size 4 /**/ | |
3519 | ||
3520 | /* Size_t: | |
3521 | * This symbol holds the type used to declare length parameters | |
3522 | * for string functions. It is usually size_t, but may be | |
3523 | * unsigned long, int, etc. It may be necessary to include | |
3524 | * <sys/types.h> to get any typedef'ed information. | |
3525 | */ | |
3526 | #define Size_t size_t /* length paramater for string functions */ | |
3527 | ||
3528 | /* Sock_size_t: | |
3529 | * This symbol holds the type used for the size argument of | |
3530 | * various socket calls (just the base type, not the pointer-to). | |
3531 | */ | |
3532 | #define Sock_size_t int /**/ | |
3533 | ||
3534 | /* SSize_t: | |
3535 | * This symbol holds the type used by functions that return | |
3536 | * a count of bytes or an error condition. It must be a signed type. | |
3537 | * It is usually ssize_t, but may be long or int, etc. | |
3538 | * It may be necessary to include <sys/types.h> or <unistd.h> | |
3539 | * to get any typedef'ed information. | |
3540 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). | |
3541 | */ | |
3542 | #define SSize_t int /* signed count of bytes */ | |
3543 | ||
3544 | /* STARTPERL: | |
3545 | * This variable contains the string to put in front of a perl | |
3546 | * script to make sure (one hopes) that it runs with perl and not | |
3547 | * some shell. | |
3548 | */ | |
3549 | #define STARTPERL "#!perl" /**/ | |
3550 | ||
e2a02c1e VK |
3551 | /* STDCHAR: |
3552 | * This symbol is defined to be the type of char used in stdio.h. | |
3553 | * It has the values "unsigned char" or "char". | |
3554 | */ | |
3555 | #define STDCHAR char /**/ | |
3556 | ||
e1caacb4 JH |
3557 | /* HAS_STDIO_STREAM_ARRAY: |
3558 | * This symbol, if defined, tells that there is an array | |
3559 | * holding the stdio streams. | |
3560 | */ | |
3561 | /* STDIO_STREAM_ARRAY: | |
3562 | * This symbol tells the name of the array holding the stdio streams. | |
3563 | * Usual values include _iob, __iob, and __sF. | |
3564 | */ | |
3565 | /*#define HAS_STDIO_STREAM_ARRAY /**/ | |
f4257e4d | 3566 | #define STDIO_STREAM_ARRAY |
e1caacb4 JH |
3567 | |
3568 | /* Uid_t_f: | |
3569 | * This symbol defines the format string used for printing a Uid_t. | |
3570 | */ | |
3571 | #define Uid_t_f "ld" /**/ | |
3572 | ||
3573 | /* Uid_t_sign: | |
3574 | * This symbol holds the signedess of a Uid_t. | |
3575 | * 1 for unsigned, -1 for signed. | |
3576 | */ | |
3577 | #define Uid_t_sign -1 /* UID sign */ | |
3578 | ||
3579 | /* Uid_t_size: | |
3580 | * This symbol holds the size of a Uid_t in bytes. | |
3581 | */ | |
3582 | #define Uid_t_size 4 /* UID size */ | |
3583 | ||
3584 | /* Uid_t: | |
3585 | * This symbol holds the type used to declare user ids in the kernel. | |
3586 | * It can be int, ushort, uid_t, etc... It may be necessary to include | |
3587 | * <sys/types.h> to get any typedef'ed information. | |
3588 | */ | |
3589 | #define Uid_t uid_t /* UID type */ | |
3590 | ||
3591 | /* USE_64_BIT_INT: | |
3592 | * This symbol, if defined, indicates that 64-bit integers should | |
3593 | * be used when available. If not defined, the native integers | |
3594 | * will be employed (be they 32 or 64 bits). The minimal possible | |
3595 | * 64-bitness is used, just enough to get 64-bit integers into Perl. | |
3596 | * This may mean using for example "long longs", while your memory | |
3597 | * may still be limited to 2 gigabytes. | |
3598 | */ | |
3599 | /* USE_64_BIT_ALL: | |
3600 | * This symbol, if defined, indicates that 64-bit integers should | |
3601 | * be used when available. If not defined, the native integers | |
3602 | * will be used (be they 32 or 64 bits). The maximal possible | |
3603 | * 64-bitness is employed: LP64 or ILP64, meaning that you will | |
3604 | * be able to use more than 2 gigabytes of memory. This mode is | |
3605 | * even more binary incompatible than USE_64_BIT_INT. You may not | |
3606 | * be able to run the resulting executable in a 32-bit CPU at all or | |
3607 | * you may need at least to reboot your OS to 64-bit mode. | |
3608 | */ | |
3609 | #ifndef USE_64_BIT_INT | |
3610 | /*#define USE_64_BIT_INT /**/ | |
3611 | #endif | |
3612 | ||
3613 | #ifndef USE_64_BIT_ALL | |
3614 | /*#define USE_64_BIT_ALL /**/ | |
3615 | #endif | |
3616 | ||
3617 | /* USE_LARGE_FILES: | |
3618 | * This symbol, if defined, indicates that large file support | |
3619 | * should be used when available. | |
3620 | */ | |
3621 | #ifndef USE_LARGE_FILES | |
3622 | /*#define USE_LARGE_FILES /**/ | |
3623 | #endif | |
3624 | ||
3625 | /* USE_LONG_DOUBLE: | |
3626 | * This symbol, if defined, indicates that long doubles should | |
3627 | * be used when available. | |
3628 | */ | |
3629 | #ifndef USE_LONG_DOUBLE | |
3630 | /*#define USE_LONG_DOUBLE /**/ | |
3631 | #endif | |
3632 | ||
3633 | /* USE_MORE_BITS: | |
3634 | * This symbol, if defined, indicates that 64-bit interfaces and | |
3635 | * long doubles should be used when available. | |
3636 | */ | |
3637 | #ifndef USE_MORE_BITS | |
3638 | /*#define USE_MORE_BITS /**/ | |
3639 | #endif | |
3640 | ||
3641 | /* MULTIPLICITY: | |
3642 | * This symbol, if defined, indicates that Perl should | |
3643 | * be built to use multiplicity. | |
3644 | */ | |
3645 | #ifndef MULTIPLICITY | |
3646 | /*#define MULTIPLICITY /**/ | |
3647 | #endif | |
3648 | ||
3649 | /* USE_PERLIO: | |
3650 | * This symbol, if defined, indicates that the PerlIO abstraction should | |
3651 | * be used throughout. If not defined, stdio should be | |
3652 | * used in a fully backward compatible manner. | |
3653 | */ | |
3654 | #ifndef USE_PERLIO | |
1829b0dc | 3655 | #define USE_PERLIO /**/ |
e1caacb4 JH |
3656 | #endif |
3657 | ||
3658 | /* USE_SOCKS: | |
3659 | * This symbol, if defined, indicates that Perl should | |
3660 | * be built to use socks. | |
3661 | */ | |
3662 | #ifndef USE_SOCKS | |
3663 | /*#define USE_SOCKS /**/ | |
3664 | #endif | |
3665 | ||
3666 | /* USE_ITHREADS: | |
3667 | * This symbol, if defined, indicates that Perl should be built to | |
3668 | * use the interpreter-based threading implementation. | |
3669 | */ | |
1829b0dc VK |
3670 | /* USE_5005THREADS: |
3671 | * This symbol, if defined, indicates that Perl should be built to | |
3672 | * use the 5.005-based threading implementation. | |
3673 | */ | |
e1caacb4 JH |
3674 | /* OLD_PTHREADS_API: |
3675 | * This symbol, if defined, indicates that Perl should | |
3676 | * be built to use the old draft POSIX threads API. | |
3677 | */ | |
e2a02c1e VK |
3678 | /* USE_REENTRANT_API: |
3679 | * This symbol, if defined, indicates that Perl should | |
3680 | * try to use the various _r versions of library functions. | |
3681 | * This is extremely experimental. | |
3682 | */ | |
1829b0dc | 3683 | /*#define USE_5005THREADS /**/ |
e1caacb4 | 3684 | /*#define USE_ITHREADS /**/ |
1829b0dc VK |
3685 | #if defined(USE_5005THREADS) && !defined(USE_ITHREADS) |
3686 | #define USE_THREADS /* until src is revised*/ | |
3687 | #endif | |
e1caacb4 | 3688 | /*#define OLD_PTHREADS_API /**/ |
e2a02c1e | 3689 | /*#define USE_REENTRANT_API /**/ |
e1caacb4 | 3690 | |
5ac1e9b2 AA |
3691 | /* USE_DTRACE |
3692 | * This symbol, if defined, indicates that Perl should | |
3693 | * be built with support for DTrace. | |
3694 | */ | |
3695 | /*#define USE_DTRACE / **/ | |
3696 | ||
e1caacb4 JH |
3697 | /* PERL_VENDORARCH: |
3698 | * If defined, this symbol contains the name of a private library. | |
3699 | * The library is private in the sense that it needn't be in anyone's | |
3700 | * execution path, but it should be accessible by the world. | |
f4257e4d | 3701 | * It may have a ~ on the front. |
e1caacb4 JH |
3702 | * The standard distribution will put nothing in this directory. |
3703 | * Vendors who distribute perl may wish to place their own | |
3704 | * architecture-dependent modules and extensions in this directory with | |
f4257e4d | 3705 | * MakeMaker Makefile.PL INSTALLDIRS=vendor |
e1caacb4 JH |
3706 | * or equivalent. See INSTALL for details. |
3707 | */ | |
3708 | /* PERL_VENDORARCH_EXP: | |
3709 | * This symbol contains the ~name expanded version of PERL_VENDORARCH, to be used | |
3710 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3711 | */ | |
3712 | /*#define PERL_VENDORARCH "" /**/ | |
3713 | /*#define PERL_VENDORARCH_EXP "" /**/ | |
3714 | ||
3715 | /* PERL_VENDORLIB_EXP: | |
3716 | * This symbol contains the ~name expanded version of VENDORLIB, to be used | |
3717 | * in programs that are not prepared to deal with ~ expansion at run-time. | |
3718 | */ | |
3719 | /* PERL_VENDORLIB_STEM: | |
3720 | * This define is PERL_VENDORLIB_EXP with any trailing version-specific component | |
3721 | * removed. The elements in inc_version_list (inc_version_list.U) can | |
3722 | * be tacked onto this variable to generate a list of directories to search. | |
3723 | */ | |
3724 | /*#define PERL_VENDORLIB_EXP "" /**/ | |
3725 | /*#define PERL_VENDORLIB_STEM "" /**/ | |
3726 | ||
1829b0dc VK |
3727 | /* HASATTRIBUTE_FORMAT: |
3728 | * Can we handle GCC attribute for checking printf-style formats | |
3729 | */ | |
3730 | /* HASATTRIBUTE_MALLOC: | |
3731 | * Can we handle GCC attribute for malloc-style functions. | |
3732 | */ | |
3733 | /* HASATTRIBUTE_NONNULL: | |
3734 | * Can we handle GCC attribute for nonnull function parms. | |
3735 | */ | |
3736 | /* HASATTRIBUTE_NORETURN: | |
3737 | * Can we handle GCC attribute for functions that do not return | |
3738 | */ | |
3739 | /* HASATTRIBUTE_PURE: | |
3740 | * Can we handle GCC attribute for pure functions | |
3741 | */ | |
3742 | /* HASATTRIBUTE_UNUSED: | |
3743 | * Can we handle GCC attribute for unused variables and arguments | |
3744 | */ | |
3745 | /* HASATTRIBUTE_WARN_UNUSED_RESULT: | |
3746 | * Can we handle GCC attribute for warning on unused results | |
3747 | */ | |
3748 | /*#define HASATTRIBUTE_FORMAT /**/ | |
3749 | /*#define HASATTRIBUTE_NORETURN /**/ | |
3750 | /*#define HASATTRIBUTE_MALLOC /**/ | |
3751 | /*#define HASATTRIBUTE_NONNULL /**/ | |
3752 | /*#define HASATTRIBUTE_PURE /**/ | |
3753 | /*#define HASATTRIBUTE_UNUSED /**/ | |
3754 | /*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/ | |
3755 | ||
e2a02c1e VK |
3756 | /* HAS_CRYPT: |
3757 | * This symbol, if defined, indicates that the crypt routine is available | |
3758 | * to encrypt passwords and the like. | |
e1caacb4 | 3759 | */ |
e2a02c1e | 3760 | /*#define HAS_CRYPT /**/ |
e1caacb4 | 3761 | |
e2a02c1e VK |
3762 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
3763 | * This symbol, if defined, indicates that the bug that prevents | |
3764 | * setuid scripts from being secure is not present in this kernel. | |
e1caacb4 | 3765 | */ |
e2a02c1e VK |
3766 | /* DOSUID: |
3767 | * This symbol, if defined, indicates that the C program should | |
3768 | * check the script that it is executing for setuid/setgid bits, and | |
3769 | * attempt to emulate setuid/setgid on systems that have disabled | |
3770 | * setuid #! scripts because the kernel can't do it securely. | |
3771 | * It is up to the package designer to make sure that this emulation | |
3772 | * is done securely. Among other things, it should do an fstat on | |
3773 | * the script it just opened to make sure it really is a setuid/setgid | |
3774 | * script, it should make sure the arguments passed correspond exactly | |
3775 | * to the argument on the #! line, and it should not trust any | |
3776 | * subprocesses to which it must pass the filename rather than the | |
3777 | * file descriptor of the script to be executed. | |
3778 | */ | |
3779 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ | |
3780 | /*#define DOSUID /**/ | |
e1caacb4 | 3781 | |
e2a02c1e VK |
3782 | /* Shmat_t: |
3783 | * This symbol holds the return type of the shmat() system call. | |
3784 | * Usually set to 'void *' or 'char *'. | |
e1caacb4 | 3785 | */ |
e2a02c1e VK |
3786 | /* HAS_SHMAT_PROTOTYPE: |
3787 | * This symbol, if defined, indicates that the sys/shm.h includes | |
3788 | * a prototype for shmat(). Otherwise, it is up to the program to | |
3789 | * guess one. Shmat_t shmat(int, Shmat_t, int) is a good guess, | |
3790 | * but not always right so it should be emitted by the program only | |
3791 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. | |
e1caacb4 | 3792 | */ |
e2a02c1e VK |
3793 | #define Shmat_t void * /**/ |
3794 | /*#define HAS_SHMAT_PROTOTYPE /**/ | |
3795 | ||
3796 | /* I_NDBM: | |
3797 | * This symbol, if defined, indicates that <ndbm.h> exists and should | |
3798 | * be included. | |
e1caacb4 | 3799 | */ |
e2a02c1e VK |
3800 | /*#define I_NDBM /**/ |
3801 | ||
3802 | /* I_STDARG: | |
3803 | * This symbol, if defined, indicates that <stdarg.h> exists and should | |
3804 | * be included. | |
e1caacb4 | 3805 | */ |
e2a02c1e VK |
3806 | /* I_VARARGS: |
3807 | * This symbol, if defined, indicates to the C program that it should | |
3808 | * include <varargs.h>. | |
e1caacb4 | 3809 | */ |
e2a02c1e VK |
3810 | #define I_STDARG /**/ |
3811 | /*#define I_VARARGS /**/ | |
3812 | ||
3813 | /* CAN_PROTOTYPE: | |
3814 | * If defined, this macro indicates that the C compiler can handle | |
3815 | * function prototypes. | |
e1caacb4 | 3816 | */ |
e2a02c1e VK |
3817 | /* _: |
3818 | * This macro is used to declare function parameters for folks who want | |
3819 | * to make declarations with prototypes using a different style than | |
3820 | * the above macros. Use double parentheses. For example: | |
3821 | * | |
3822 | * int main _((int argc, char *argv[])); | |
e1caacb4 | 3823 | */ |
e2a02c1e VK |
3824 | #define CAN_PROTOTYPE /**/ |
3825 | #ifdef CAN_PROTOTYPE | |
3826 | #define _(args) args | |
3827 | #else | |
3828 | #define _(args) () | |
3829 | #endif | |
3830 | ||
3831 | /* SH_PATH: | |
3832 | * This symbol contains the full pathname to the shell used on this | |
3833 | * on this system to execute Bourne shell scripts. Usually, this will be | |
3834 | * /bin/sh, though it's possible that some systems will have /bin/ksh, | |
3835 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as | |
3836 | * D:/bin/sh.exe. | |
e1caacb4 | 3837 | */ |
e2a02c1e VK |
3838 | #define SH_PATH "cmd /x /c" /**/ |
3839 | ||
1829b0dc VK |
3840 | /* HAS_AINTL: |
3841 | * This symbol, if defined, indicates that the aintl routine is | |
3842 | * available. If copysignl is also present we can emulate modfl. | |
e2a02c1e | 3843 | */ |
1829b0dc VK |
3844 | /*#define HAS_AINTL /**/ |
3845 | ||
3846 | /* HAS_CLEARENV: | |
3847 | * This symbol, if defined, indicates that the clearenv () routine is | |
3848 | * available for use. | |
e2a02c1e | 3849 | */ |
1829b0dc | 3850 | /*#define HAS_CLEARENV /**/ |
e2a02c1e | 3851 | |
e10940c3 JH |
3852 | /* HAS_COPYSIGNL: |
3853 | * This symbol, if defined, indicates that the copysignl routine is | |
3854 | * available. If aintl is also present we can emulate modfl. | |
3855 | */ | |
3856 | /*#define HAS_COPYSIGNL /**/ | |
3857 | ||
666ea192 JH |
3858 | /* USE_CPLUSPLUS: |
3859 | * This symbol, if defined, indicates that a C++ compiler was | |
3860 | * used to compiled Perl and will be used to compile extensions. | |
3861 | */ | |
3862 | /*#define USE_CPLUSPLUS /**/ | |
3863 | ||
e2a02c1e VK |
3864 | /* HAS_DBMINIT_PROTO: |
3865 | * This symbol, if defined, indicates that the system provides | |
3866 | * a prototype for the dbminit() function. Otherwise, it is up | |
3867 | * to the program to supply one. A good guess is | |
3868 | * extern int dbminit(char *); | |
3869 | */ | |
3870 | /*#define HAS_DBMINIT_PROTO /**/ | |
3871 | ||
3872 | /* HAS_DIRFD: | |
3873 | * This manifest constant lets the C program know that dirfd | |
3874 | * is available. | |
3875 | */ | |
3876 | /*#define HAS_DIRFD /**/ | |
3877 | ||
1829b0dc VK |
3878 | /* HAS_FAST_STDIO: |
3879 | * This symbol, if defined, indicates that the "fast stdio" | |
3880 | * is available to manipulate the stdio buffers directly. | |
3881 | */ | |
3882 | /*#define HAS_FAST_STDIO /**/ | |
3883 | ||
e2a02c1e VK |
3884 | /* HAS_FLOCK_PROTO: |
3885 | * This symbol, if defined, indicates that the system provides | |
3886 | * a prototype for the flock() function. Otherwise, it is up | |
3887 | * to the program to supply one. A good guess is | |
3888 | * extern int flock(int, int); | |
3889 | */ | |
3890 | /*#define HAS_FLOCK_PROTO /**/ | |
3891 | ||
3892 | /* HAS_FPCLASSL: | |
3893 | * This symbol, if defined, indicates that the fpclassl routine is | |
3894 | * available to classify long doubles. Available for example in IRIX. | |
3895 | * The returned values are defined in <ieeefp.h> and are: | |
3896 | * | |
3897 | * FP_SNAN signaling NaN | |
3898 | * FP_QNAN quiet NaN | |
3899 | * FP_NINF negative infinity | |
3900 | * FP_PINF positive infinity | |
3901 | * FP_NDENORM negative denormalized non-zero | |
3902 | * FP_PDENORM positive denormalized non-zero | |
3903 | * FP_NZERO negative zero | |
3904 | * FP_PZERO positive zero | |
3905 | * FP_NNORM negative normalized non-zero | |
3906 | * FP_PNORM positive normalized non-zero | |
3907 | */ | |
3908 | /*#define HAS_FPCLASSL /**/ | |
3909 | ||
1829b0dc VK |
3910 | /* HAS_ILOGBL: |
3911 | * This symbol, if defined, indicates that the ilogbl routine is | |
3912 | * available. If scalbnl is also present we can emulate frexpl. | |
3913 | */ | |
3914 | /*#define HAS_ILOGBL /**/ | |
3915 | ||
3916 | /* LIBM_LIB_VERSION: | |
3917 | * This symbol, if defined, indicates that libm exports _LIB_VERSION | |
3918 | * and that math.h defines the enum to manipulate it. | |
3919 | */ | |
3920 | /*#define LIBM_LIB_VERSION /**/ | |
3921 | ||
e2a02c1e VK |
3922 | /* HAS_NL_LANGINFO: |
3923 | * This symbol, if defined, indicates that the nl_langinfo routine is | |
3924 | * available to return local data. You will also need <langinfo.h> | |
3925 | * and therefore I_LANGINFO. | |
3926 | */ | |
3927 | /*#define HAS_NL_LANGINFO /**/ | |
3928 | ||
3929 | /* HAS_PROCSELFEXE: | |
3930 | * This symbol is defined if PROCSELFEXE_PATH is a symlink | |
3931 | * to the absolute pathname of the executing program. | |
3932 | */ | |
3933 | /* PROCSELFEXE_PATH: | |
3934 | * If HAS_PROCSELFEXE is defined this symbol is the filename | |
3935 | * of the symbolic link pointing to the absolute pathname of | |
3936 | * the executing program. | |
3937 | */ | |
3938 | /*#define HAS_PROCSELFEXE /**/ | |
3939 | #if defined(HAS_PROCSELFEXE) && !defined(PROCSELFEXE_PATH) | |
3940 | #define PROCSELFEXE_PATH /**/ | |
3941 | #endif | |
3942 | ||
e0e3c57a JH |
3943 | /* HAS_PTHREAD_ATTR_SETSCOPE: |
3944 | * This symbol, if defined, indicates that the pthread_attr_setscope | |
3945 | * system call is available to set the contention scope attribute of | |
3946 | * a thread attribute object. | |
3947 | */ | |
1829b0dc VK |
3948 | /*#define HAS_PTHREAD_ATTR_SETSCOPE /**/ |
3949 | ||
3950 | /* HAS_SCALBNL: | |
3951 | * This symbol, if defined, indicates that the scalbnl routine is | |
3952 | * available. If ilogbl is also present we can emulate frexpl. | |
3953 | */ | |
3954 | /*#define HAS_SCALBNL /**/ | |
e0e3c57a | 3955 | |
e2a02c1e VK |
3956 | /* HAS_SIGPROCMASK: |
3957 | * This symbol, if defined, indicates that the sigprocmask | |
3958 | * system call is available to examine or change the signal mask | |
3959 | * of the calling process. | |
3960 | */ | |
3961 | /*#define HAS_SIGPROCMASK /**/ | |
3962 | ||
3963 | /* HAS_SOCKATMARK: | |
3964 | * This symbol, if defined, indicates that the sockatmark routine is | |
3965 | * available to test whether a socket is at the out-of-band mark. | |
3966 | */ | |
3967 | /*#define HAS_SOCKATMARK /**/ | |
3968 | ||
3969 | /* HAS_SOCKATMARK_PROTO: | |
3970 | * This symbol, if defined, indicates that the system provides | |
3971 | * a prototype for the sockatmark() function. Otherwise, it is up | |
3972 | * to the program to supply one. A good guess is | |
3973 | * extern int sockatmark(int); | |
3974 | */ | |
3975 | /*#define HAS_SOCKATMARK_PROTO /**/ | |
3976 | ||
1829b0dc VK |
3977 | /* SPRINTF_RETURNS_STRLEN: |
3978 | * This variable defines whether sprintf returns the length of the string | |
3979 | * (as per the ANSI spec). Some C libraries retain compatibility with | |
3980 | * pre-ANSI C and return a pointer to the passed in buffer; for these | |
3981 | * this variable will be undef. | |
3982 | */ | |
3983 | #define SPRINTF_RETURNS_STRLEN /**/ | |
3984 | ||
e2a02c1e VK |
3985 | /* HAS_SETRESGID_PROTO: |
3986 | * This symbol, if defined, indicates that the system provides | |
3987 | * a prototype for the setresgid() function. Otherwise, it is up | |
3988 | * to the program to supply one. Good guesses are | |
3989 | * extern int setresgid(uid_t ruid, uid_t euid, uid_t suid); | |
3990 | */ | |
3991 | /*#define HAS_SETRESGID_PROTO /**/ | |
3992 | ||
3993 | /* HAS_SETRESUID_PROTO: | |
3994 | * This symbol, if defined, indicates that the system provides | |
3995 | * a prototype for the setresuid() function. Otherwise, it is up | |
3996 | * to the program to supply one. Good guesses are | |
3997 | * extern int setresuid(uid_t ruid, uid_t euid, uid_t suid); | |
3998 | */ | |
3999 | /*#define HAS_SETRESUID_PROTO /**/ | |
4000 | ||
4001 | /* HAS_STRFTIME: | |
4002 | * This symbol, if defined, indicates that the strftime routine is | |
4003 | * available to do time formatting. | |
4004 | */ | |
4005 | /*#define HAS_STRFTIME /**/ | |
4006 | ||
1829b0dc VK |
4007 | /* HAS_STRLCAT: |
4008 | * This symbol, if defined, indicates that the strlcat () routine is | |
4009 | * available to do string concatenation. | |
54b118e4 | 4010 | */ |
1829b0dc | 4011 | /*#define HAS_STRLCAT /**/ |
54b118e4 MB |
4012 | |
4013 | /* HAS_STRLCPY: | |
1829b0dc VK |
4014 | * This symbol, if defined, indicates that the strlcpy () routine is |
4015 | * available to do string copying. | |
54b118e4 | 4016 | */ |
1829b0dc | 4017 | /*#define HAS_STRLCPY /**/ |
54b118e4 | 4018 | |
e2a02c1e VK |
4019 | /* HAS_SYSCALL_PROTO: |
4020 | * This symbol, if defined, indicates that the system provides | |
4021 | * a prototype for the syscall() function. Otherwise, it is up | |
4022 | * to the program to supply one. Good guesses are | |
4023 | * extern int syscall(int, ...); | |
4024 | * extern int syscall(long, ...); | |
4025 | */ | |
4026 | /*#define HAS_SYSCALL_PROTO /**/ | |
4027 | ||
4028 | /* U32_ALIGNMENT_REQUIRED: | |
4029 | * This symbol, if defined, indicates that you must access | |
4030 | * character data through U32-aligned pointers. | |
4031 | */ | |
4032 | #ifndef U32_ALIGNMENT_REQUIRED | |
4033 | /*#define U32_ALIGNMENT_REQUIRED /**/ | |
4034 | #endif | |
4035 | ||
4036 | /* HAS_USLEEP_PROTO: | |
4037 | * This symbol, if defined, indicates that the system provides | |
4038 | * a prototype for the usleep() function. Otherwise, it is up | |
4039 | * to the program to supply one. A good guess is | |
4040 | * extern int usleep(useconds_t); | |
4041 | */ | |
4042 | /*#define HAS_USLEEP_PROTO /**/ | |
4043 | ||
4044 | /* I_CRYPT: | |
4045 | * This symbol, if defined, indicates that <crypt.h> exists and | |
4046 | * should be included. | |
4047 | */ | |
4048 | /*#define I_CRYPT /**/ | |
4049 | ||
4050 | /* I_FP: | |
4051 | * This symbol, if defined, indicates that <fp.h> exists and | |
4052 | * should be included. | |
4053 | */ | |
4054 | /*#define I_FP /**/ | |
4055 | ||
4056 | /* I_LANGINFO: | |
4057 | * This symbol, if defined, indicates that <langinfo.h> exists and | |
4058 | * should be included. | |
4059 | */ | |
4060 | /*#define I_LANGINFO /**/ | |
4061 | ||
1829b0dc VK |
4062 | /* USE_FAST_STDIO: |
4063 | * This symbol, if defined, indicates that Perl should | |
4064 | * be built to use 'fast stdio'. | |
4065 | * Defaults to define in Perls 5.8 and earlier, to undef later. | |
4066 | */ | |
4067 | #ifndef USE_FAST_STDIO | |
4068 | /*#define USE_FAST_STDIO /**/ | |
4069 | #endif | |
4070 | ||
4071 | /* PERL_RELOCATABLE_INC: | |
4072 | * This symbol, if defined, indicates that we'd like to relocate entries | |
4073 | * in @INC at run time based on the location of the perl binary. | |
4074 | */ | |
4075 | #define PERL_RELOCATABLE_INC "undef" /**/ | |
4076 | ||
e2a02c1e VK |
4077 | /* HAS_CTERMID_R: |
4078 | * This symbol, if defined, indicates that the ctermid_r routine | |
4079 | * is available to ctermid re-entrantly. | |
4080 | */ | |
4081 | /* CTERMID_R_PROTO: | |
4082 | * This symbol encodes the prototype of ctermid_r. | |
1829b0dc VK |
4083 | * It is zero if d_ctermid_r is undef, and one of the |
4084 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r | |
4085 | * is defined. | |
e2a02c1e VK |
4086 | */ |
4087 | /*#define HAS_CTERMID_R /**/ | |
4088 | #define CTERMID_R_PROTO 0 /**/ | |
4089 | ||
4090 | /* HAS_ENDHOSTENT_R: | |
4091 | * This symbol, if defined, indicates that the endhostent_r routine | |
4092 | * is available to endhostent re-entrantly. | |
4093 | */ | |
4094 | /* ENDHOSTENT_R_PROTO: | |
4095 | * This symbol encodes the prototype of endhostent_r. | |
1829b0dc VK |
4096 | * It is zero if d_endhostent_r is undef, and one of the |
4097 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r | |
4098 | * is defined. | |
e2a02c1e VK |
4099 | */ |
4100 | /*#define HAS_ENDHOSTENT_R /**/ | |
4101 | #define ENDHOSTENT_R_PROTO 0 /**/ | |
4102 | ||
4103 | /* HAS_ENDNETENT_R: | |
4104 | * This symbol, if defined, indicates that the endnetent_r routine | |
4105 | * is available to endnetent re-entrantly. | |
4106 | */ | |
4107 | /* ENDNETENT_R_PROTO: | |
4108 | * This symbol encodes the prototype of endnetent_r. | |
1829b0dc VK |
4109 | * It is zero if d_endnetent_r is undef, and one of the |
4110 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r | |
4111 | * is defined. | |
e2a02c1e VK |
4112 | */ |
4113 | /*#define HAS_ENDNETENT_R /**/ | |
4114 | #define ENDNETENT_R_PROTO 0 /**/ | |
4115 | ||
4116 | /* HAS_ENDPROTOENT_R: | |
4117 | * This symbol, if defined, indicates that the endprotoent_r routine | |
4118 | * is available to endprotoent re-entrantly. | |
4119 | */ | |
4120 | /* ENDPROTOENT_R_PROTO: | |
4121 | * This symbol encodes the prototype of endprotoent_r. | |
1829b0dc VK |
4122 | * It is zero if d_endprotoent_r is undef, and one of the |
4123 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r | |
4124 | * is defined. | |
e2a02c1e VK |
4125 | */ |
4126 | /*#define HAS_ENDPROTOENT_R /**/ | |
4127 | #define ENDPROTOENT_R_PROTO 0 /**/ | |
4128 | ||
4129 | /* HAS_ENDSERVENT_R: | |
4130 | * This symbol, if defined, indicates that the endservent_r routine | |
4131 | * is available to endservent re-entrantly. | |
4132 | */ | |
4133 | /* ENDSERVENT_R_PROTO: | |
4134 | * This symbol encodes the prototype of endservent_r. | |
1829b0dc VK |
4135 | * It is zero if d_endservent_r is undef, and one of the |
4136 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r | |
4137 | * is defined. | |
e2a02c1e VK |
4138 | */ |
4139 | /*#define HAS_ENDSERVENT_R /**/ | |
4140 | #define ENDSERVENT_R_PROTO 0 /**/ | |
4141 | ||
4142 | /* HAS_GETHOSTBYADDR_R: | |
4143 | * This symbol, if defined, indicates that the gethostbyaddr_r routine | |
4144 | * is available to gethostbyaddr re-entrantly. | |
4145 | */ | |
4146 | /* GETHOSTBYADDR_R_PROTO: | |
4147 | * This symbol encodes the prototype of gethostbyaddr_r. | |
1829b0dc VK |
4148 | * It is zero if d_gethostbyaddr_r is undef, and one of the |
4149 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r | |
4150 | * is defined. | |
e2a02c1e VK |
4151 | */ |
4152 | /*#define HAS_GETHOSTBYADDR_R /**/ | |
4153 | #define GETHOSTBYADDR_R_PROTO 0 /**/ | |
4154 | ||
4155 | /* HAS_GETHOSTBYNAME_R: | |
4156 | * This symbol, if defined, indicates that the gethostbyname_r routine | |
4157 | * is available to gethostbyname re-entrantly. | |
4158 | */ | |
4159 | /* GETHOSTBYNAME_R_PROTO: | |
4160 | * This symbol encodes the prototype of gethostbyname_r. | |
1829b0dc VK |
4161 | * It is zero if d_gethostbyname_r is undef, and one of the |
4162 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r | |
4163 | * is defined. | |
e2a02c1e VK |
4164 | */ |
4165 | /*#define HAS_GETHOSTBYNAME_R /**/ | |
4166 | #define GETHOSTBYNAME_R_PROTO 0 /**/ | |
4167 | ||
4168 | /* HAS_GETHOSTENT_R: | |
4169 | * This symbol, if defined, indicates that the gethostent_r routine | |
4170 | * is available to gethostent re-entrantly. | |
4171 | */ | |
4172 | /* GETHOSTENT_R_PROTO: | |
4173 | * This symbol encodes the prototype of gethostent_r. | |
1829b0dc VK |
4174 | * It is zero if d_gethostent_r is undef, and one of the |
4175 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r | |
4176 | * is defined. | |
e2a02c1e VK |
4177 | */ |
4178 | /*#define HAS_GETHOSTENT_R /**/ | |
4179 | #define GETHOSTENT_R_PROTO 0 /**/ | |
4180 | ||
4181 | /* HAS_GETNETBYADDR_R: | |
4182 | * This symbol, if defined, indicates that the getnetbyaddr_r routine | |
4183 | * is available to getnetbyaddr re-entrantly. | |
4184 | */ | |
4185 | /* GETNETBYADDR_R_PROTO: | |
4186 | * This symbol encodes the prototype of getnetbyaddr_r. | |
1829b0dc VK |
4187 | * It is zero if d_getnetbyaddr_r is undef, and one of the |
4188 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r | |
4189 | * is defined. | |
e2a02c1e VK |
4190 | */ |
4191 | /*#define HAS_GETNETBYADDR_R /**/ | |
4192 | #define GETNETBYADDR_R_PROTO 0 /**/ | |
4193 | ||
4194 | /* HAS_GETNETBYNAME_R: | |
4195 | * This symbol, if defined, indicates that the getnetbyname_r routine | |
4196 | * is available to getnetbyname re-entrantly. | |
4197 | */ | |
4198 | /* GETNETBYNAME_R_PROTO: | |
4199 | * This symbol encodes the prototype of getnetbyname_r. | |
1829b0dc VK |
4200 | * It is zero if d_getnetbyname_r is undef, and one of the |
4201 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r | |
4202 | * is defined. | |
e2a02c1e VK |
4203 | */ |
4204 | /*#define HAS_GETNETBYNAME_R /**/ | |
4205 | #define GETNETBYNAME_R_PROTO 0 /**/ | |
4206 | ||
4207 | /* HAS_GETNETENT_R: | |
4208 | * This symbol, if defined, indicates that the getnetent_r routine | |
4209 | * is available to getnetent re-entrantly. | |
4210 | */ | |
4211 | /* GETNETENT_R_PROTO: | |
4212 | * This symbol encodes the prototype of getnetent_r. | |
1829b0dc VK |
4213 | * It is zero if d_getnetent_r is undef, and one of the |
4214 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r | |
4215 | * is defined. | |
e2a02c1e VK |
4216 | */ |
4217 | /*#define HAS_GETNETENT_R /**/ | |
4218 | #define GETNETENT_R_PROTO 0 /**/ | |
4219 | ||
4220 | /* HAS_GETPROTOBYNAME_R: | |
4221 | * This symbol, if defined, indicates that the getprotobyname_r routine | |
4222 | * is available to getprotobyname re-entrantly. | |
4223 | */ | |
4224 | /* GETPROTOBYNAME_R_PROTO: | |
4225 | * This symbol encodes the prototype of getprotobyname_r. | |
1829b0dc VK |
4226 | * It is zero if d_getprotobyname_r is undef, and one of the |
4227 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r | |
4228 | * is defined. | |
e2a02c1e VK |
4229 | */ |
4230 | /*#define HAS_GETPROTOBYNAME_R /**/ | |
4231 | #define GETPROTOBYNAME_R_PROTO 0 /**/ | |
4232 | ||
4233 | /* HAS_GETPROTOBYNUMBER_R: | |
4234 | * This symbol, if defined, indicates that the getprotobynumber_r routine | |
4235 | * is available to getprotobynumber re-entrantly. | |
4236 | */ | |
4237 | /* GETPROTOBYNUMBER_R_PROTO: | |
4238 | * This symbol encodes the prototype of getprotobynumber_r. | |
1829b0dc VK |
4239 | * It is zero if d_getprotobynumber_r is undef, and one of the |
4240 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r | |
4241 | * is defined. | |
e2a02c1e VK |
4242 | */ |
4243 | /*#define HAS_GETPROTOBYNUMBER_R /**/ | |
4244 | #define GETPROTOBYNUMBER_R_PROTO 0 /**/ | |
4245 | ||
4246 | /* HAS_GETPROTOENT_R: | |
4247 | * This symbol, if defined, indicates that the getprotoent_r routine | |
4248 | * is available to getprotoent re-entrantly. | |
4249 | */ | |
4250 | /* GETPROTOENT_R_PROTO: | |
4251 | * This symbol encodes the prototype of getprotoent_r. | |
1829b0dc VK |
4252 | * It is zero if d_getprotoent_r is undef, and one of the |
4253 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r | |
4254 | * is defined. | |
e2a02c1e VK |
4255 | */ |
4256 | /*#define HAS_GETPROTOENT_R /**/ | |
4257 | #define GETPROTOENT_R_PROTO 0 /**/ | |
4258 | ||
4259 | /* HAS_GETSERVBYNAME_R: | |
4260 | * This symbol, if defined, indicates that the getservbyname_r routine | |
4261 | * is available to getservbyname re-entrantly. | |
4262 | */ | |
4263 | /* GETSERVBYNAME_R_PROTO: | |
4264 | * This symbol encodes the prototype of getservbyname_r. | |
1829b0dc VK |
4265 | * It is zero if d_getservbyname_r is undef, and one of the |
4266 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r | |
4267 | * is defined. | |
e2a02c1e VK |
4268 | */ |
4269 | /*#define HAS_GETSERVBYNAME_R /**/ | |
4270 | #define GETSERVBYNAME_R_PROTO 0 /**/ | |
4271 | ||
4272 | /* HAS_GETSERVBYPORT_R: | |
4273 | * This symbol, if defined, indicates that the getservbyport_r routine | |
4274 | * is available to getservbyport re-entrantly. | |
4275 | */ | |
4276 | /* GETSERVBYPORT_R_PROTO: | |
4277 | * This symbol encodes the prototype of getservbyport_r. | |
1829b0dc VK |
4278 | * It is zero if d_getservbyport_r is undef, and one of the |
4279 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r | |
4280 | * is defined. | |
e2a02c1e VK |
4281 | */ |
4282 | /*#define HAS_GETSERVBYPORT_R /**/ | |
4283 | #define GETSERVBYPORT_R_PROTO 0 /**/ | |
4284 | ||
4285 | /* HAS_GETSERVENT_R: | |
4286 | * This symbol, if defined, indicates that the getservent_r routine | |
4287 | * is available to getservent re-entrantly. | |
4288 | */ | |
4289 | /* GETSERVENT_R_PROTO: | |
4290 | * This symbol encodes the prototype of getservent_r. | |
1829b0dc VK |
4291 | * It is zero if d_getservent_r is undef, and one of the |
4292 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r | |
4293 | * is defined. | |
e2a02c1e VK |
4294 | */ |
4295 | /*#define HAS_GETSERVENT_R /**/ | |
4296 | #define GETSERVENT_R_PROTO 0 /**/ | |
4297 | ||
4298 | /* HAS_PTHREAD_ATFORK: | |
4299 | * This symbol, if defined, indicates that the pthread_atfork routine | |
d1e22115 | 4300 | * is available to setup fork handlers. |
e2a02c1e VK |
4301 | */ |
4302 | /*#define HAS_PTHREAD_ATFORK /**/ | |
4303 | ||
4304 | /* HAS_READDIR64_R: | |
4305 | * This symbol, if defined, indicates that the readdir64_r routine | |
4306 | * is available to readdir64 re-entrantly. | |
4307 | */ | |
4308 | /* READDIR64_R_PROTO: | |
4309 | * This symbol encodes the prototype of readdir64_r. | |
1829b0dc VK |
4310 | * It is zero if d_readdir64_r is undef, and one of the |
4311 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r | |
4312 | * is defined. | |
e2a02c1e VK |
4313 | */ |
4314 | /*#define HAS_READDIR64_R /**/ | |
4315 | #define READDIR64_R_PROTO 0 /**/ | |
4316 | ||
4317 | /* HAS_SETHOSTENT_R: | |
4318 | * This symbol, if defined, indicates that the sethostent_r routine | |
4319 | * is available to sethostent re-entrantly. | |
4320 | */ | |
4321 | /* SETHOSTENT_R_PROTO: | |
4322 | * This symbol encodes the prototype of sethostent_r. | |
1829b0dc VK |
4323 | * It is zero if d_sethostent_r is undef, and one of the |
4324 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r | |
4325 | * is defined. | |
e2a02c1e VK |
4326 | */ |
4327 | /*#define HAS_SETHOSTENT_R /**/ | |
4328 | #define SETHOSTENT_R_PROTO 0 /**/ | |
4329 | ||
4330 | /* HAS_SETLOCALE_R: | |
4331 | * This symbol, if defined, indicates that the setlocale_r routine | |
4332 | * is available to setlocale re-entrantly. | |
4333 | */ | |
4334 | /* SETLOCALE_R_PROTO: | |
4335 | * This symbol encodes the prototype of setlocale_r. | |
1829b0dc VK |
4336 | * It is zero if d_setlocale_r is undef, and one of the |
4337 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r | |
4338 | * is defined. | |
e2a02c1e VK |
4339 | */ |
4340 | /*#define HAS_SETLOCALE_R /**/ | |
4341 | #define SETLOCALE_R_PROTO 0 /**/ | |
4342 | ||
4343 | /* HAS_SETNETENT_R: | |
4344 | * This symbol, if defined, indicates that the setnetent_r routine | |
4345 | * is available to setnetent re-entrantly. | |
4346 | */ | |
4347 | /* SETNETENT_R_PROTO: | |
4348 | * This symbol encodes the prototype of setnetent_r. | |
1829b0dc VK |
4349 | * It is zero if d_setnetent_r is undef, and one of the |
4350 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r | |
4351 | * is defined. | |
e2a02c1e VK |
4352 | */ |
4353 | /*#define HAS_SETNETENT_R /**/ | |
4354 | #define SETNETENT_R_PROTO 0 /**/ | |
4355 | ||
4356 | /* HAS_SETPROTOENT_R: | |
4357 | * This symbol, if defined, indicates that the setprotoent_r routine | |
4358 | * is available to setprotoent re-entrantly. | |
4359 | */ | |
4360 | /* SETPROTOENT_R_PROTO: | |
4361 | * This symbol encodes the prototype of setprotoent_r. | |
1829b0dc VK |
4362 | * It is zero if d_setprotoent_r is undef, and one of the |
4363 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r | |
4364 | * is defined. | |
e2a02c1e VK |
4365 | */ |
4366 | /*#define HAS_SETPROTOENT_R /**/ | |
4367 | #define SETPROTOENT_R_PROTO 0 /**/ | |
4368 | ||
4369 | /* HAS_SETSERVENT_R: | |
4370 | * This symbol, if defined, indicates that the setservent_r routine | |
4371 | * is available to setservent re-entrantly. | |
4372 | */ | |
4373 | /* SETSERVENT_R_PROTO: | |
4374 | * This symbol encodes the prototype of setservent_r. | |
1829b0dc VK |
4375 | * It is zero if d_setservent_r is undef, and one of the |
4376 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r | |
4377 | * is defined. | |
e2a02c1e VK |
4378 | */ |
4379 | /*#define HAS_SETSERVENT_R /**/ | |
4380 | #define SETSERVENT_R_PROTO 0 /**/ | |
4381 | ||
4382 | /* HAS_TTYNAME_R: | |
4383 | * This symbol, if defined, indicates that the ttyname_r routine | |
4384 | * is available to ttyname re-entrantly. | |
4385 | */ | |
4386 | /* TTYNAME_R_PROTO: | |
4387 | * This symbol encodes the prototype of ttyname_r. | |
1829b0dc VK |
4388 | * It is zero if d_ttyname_r is undef, and one of the |
4389 | * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r | |
4390 | * is defined. | |
e2a02c1e VK |
4391 | */ |
4392 | /*#define HAS_TTYNAME_R /**/ | |
4393 | #define TTYNAME_R_PROTO 0 /**/ | |
bcd0b0c9 DD |
4394 | /* GMTIME_MAX: |
4395 | * This symbol contains the maximum value for the time_t offset that | |
4396 | * the system function gmtime () accepts, and defaults to 0 | |
4397 | */ | |
4398 | /* GMTIME_MIN: | |
4399 | * This symbol contains the minimum value for the time_t offset that | |
4400 | * the system function gmtime () accepts, and defaults to 0 | |
4401 | */ | |
4402 | /* LOCALTIME_MAX: | |
4403 | * This symbol contains the maximum value for the time_t offset that | |
4404 | * the system function localtime () accepts, and defaults to 0 | |
4405 | */ | |
4406 | /* LOCALTIME_MIN: | |
4407 | * This symbol contains the minimum value for the time_t offset that | |
4408 | * the system function localtime () accepts, and defaults to 0 | |
4409 | */ | |
4410 | #define GMTIME_MAX 2147483647 /**/ | |
4411 | #define GMTIME_MIN 0 /**/ | |
4412 | #define LOCALTIME_MAX 2147483647 /**/ | |
4413 | #define LOCALTIME_MIN 0 /**/ | |
e1caacb4 JH |
4414 | |
4415 | #endif |