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