Commit | Line | Data |
08aa1457 |
1 | /* |
2 | * This file was produced by running the config_h.SH script, which |
3 | * gets its values from config.sh, which is generally produced by |
4 | * running Configure. |
5 | * |
6 | * Feel free to modify any of this as the need arises. Note, however, |
7 | * that running config_h.SH again will wipe out any changes you've made. |
8 | * For a more permanent change edit config.sh and rerun config_h.SH. |
9 | * |
924b3ec4 |
10 | * $Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ |
08aa1457 |
11 | */ |
12 | |
924b3ec4 |
13 | /* |
14 | * Package name : perl5 |
07ba5892 |
15 | * Source directory : |
924b3ec4 |
16 | * Configuration time: undef |
17 | * Configured by : gsar |
18 | * Target system : |
08aa1457 |
19 | */ |
20 | |
21 | #ifndef _config_h_ |
22 | #define _config_h_ |
23 | |
924b3ec4 |
24 | /* LOC_SED: |
25 | * This symbol holds the complete pathname to the sed program. |
08aa1457 |
26 | */ |
924b3ec4 |
27 | #define LOC_SED "" /**/ |
08aa1457 |
28 | |
29 | /* BIN: |
30 | * This symbol holds the path of the bin directory where the package will |
31 | * be installed. Program must be prepared to deal with ~name substitution. |
32 | */ |
33 | /* BIN_EXP: |
34 | * This symbol is the filename expanded version of the BIN symbol, for |
35 | * programs that do not want to deal with that at run-time. |
36 | */ |
46124e9e |
37 | #define BIN "c:\\perl\\5.00552\\bin\\MSWin32-x86" /**/ |
38 | #define BIN_EXP "c:\\perl\\5.00552\\bin\\MSWin32-x86" /**/ |
08aa1457 |
39 | |
40 | /* CPPSTDIN: |
41 | * This symbol contains the first part of the string which will invoke |
42 | * the C preprocessor on the standard input and produce to standard |
43 | * output. Typical value of "cc -E" or "/lib/cpp", but it can also |
44 | * call a wrapper. See CPPRUN. |
45 | */ |
46 | /* CPPMINUS: |
47 | * This symbol contains the second part of the string which will invoke |
48 | * the C preprocessor on the standard input and produce to standard |
49 | * output. This symbol will have the value "-" if CPPSTDIN needs a minus |
50 | * to specify standard input, otherwise the value is "". |
51 | */ |
9036c72f |
52 | #define CPPSTDIN "cpp32 -oCON" |
08aa1457 |
53 | #define CPPMINUS "" |
54 | |
55 | /* HAS_ALARM: |
56 | * This symbol, if defined, indicates that the alarm routine is |
57 | * available. |
58 | */ |
32f822de |
59 | /*#define HAS_ALARM /**/ |
08aa1457 |
60 | |
61 | /* HASATTRIBUTE: |
62 | * This symbol indicates the C compiler can check for function attributes, |
63 | * such as printf formats. This is normally only supported by GNU cc. |
64 | */ |
65 | /*#define HASATTRIBUTE /**/ |
66 | #ifndef HASATTRIBUTE |
67 | #define __attribute__(_arg_) |
68 | #endif |
69 | |
70 | /* HAS_BCMP: |
71 | * This symbol is defined if the bcmp() routine is available to |
72 | * compare blocks of memory. |
73 | */ |
74 | /*#define HAS_BCMP /**/ |
75 | |
76 | /* HAS_BCOPY: |
77 | * This symbol is defined if the bcopy() routine is available to |
78 | * copy blocks of memory. |
79 | */ |
80 | /*#define HAS_BCOPY /**/ |
81 | |
82 | /* HAS_BZERO: |
83 | * This symbol is defined if the bzero() routine is available to |
84 | * set a memory block to 0. |
85 | */ |
86 | /*#define HAS_BZERO /**/ |
87 | |
08aa1457 |
88 | /* HAS_CHOWN: |
89 | * This symbol, if defined, indicates that the chown routine is |
90 | * available. |
91 | */ |
92 | /*#define HAS_CHOWN /**/ |
93 | |
94 | /* HAS_CHROOT: |
95 | * This symbol, if defined, indicates that the chroot routine is |
96 | * available. |
97 | */ |
98 | /*#define HAS_CHROOT /**/ |
99 | |
100 | /* HAS_CHSIZE: |
101 | * This symbol, if defined, indicates that the chsize routine is available |
102 | * to truncate files. You might need a -lx to get this routine. |
103 | */ |
104 | #define HAS_CHSIZE /**/ |
105 | |
08aa1457 |
106 | /* HASCONST: |
107 | * This symbol, if defined, indicates that this C compiler knows about |
108 | * the const type. There is no need to actually test for that symbol |
109 | * within your programs. The mere use of the "const" keyword will |
110 | * trigger the necessary tests. |
111 | */ |
112 | #define HASCONST /**/ |
113 | #ifndef HASCONST |
114 | #define const |
115 | #endif |
116 | |
117 | /* HAS_CRYPT: |
118 | * This symbol, if defined, indicates that the crypt routine is available |
119 | * to encrypt passwords and the like. |
120 | */ |
121 | /*#define HAS_CRYPT /**/ |
122 | |
123 | /* HAS_CUSERID: |
124 | * This symbol, if defined, indicates that the cuserid routine is |
125 | * available to get character login names. |
126 | */ |
127 | /*#define HAS_CUSERID /**/ |
128 | |
129 | /* HAS_DBL_DIG: |
130 | * This symbol, if defined, indicates that this system's <float.h> |
131 | * or <limits.h> defines the symbol DBL_DIG, which is the number |
132 | * of significant digits in a double precision number. If this |
133 | * symbol is not defined, a guess of 15 is usually pretty good. |
134 | */ |
135 | #define HAS_DBL_DIG /**/ |
136 | |
137 | /* HAS_DIFFTIME: |
138 | * This symbol, if defined, indicates that the difftime routine is |
139 | * available. |
140 | */ |
141 | #define HAS_DIFFTIME /**/ |
142 | |
143 | /* HAS_DLERROR: |
144 | * This symbol, if defined, indicates that the dlerror routine is |
145 | * available to return a string describing the last error that |
146 | * occurred from a call to dlopen(), dlclose() or dlsym(). |
147 | */ |
148 | #define HAS_DLERROR /**/ |
149 | |
924b3ec4 |
150 | /* SETUID_SCRIPTS_ARE_SECURE_NOW: |
151 | * This symbol, if defined, indicates that the bug that prevents |
152 | * setuid scripts from being secure is not present in this kernel. |
153 | */ |
154 | /* DOSUID: |
155 | * This symbol, if defined, indicates that the C program should |
156 | * check the script that it is executing for setuid/setgid bits, and |
157 | * attempt to emulate setuid/setgid on systems that have disabled |
158 | * setuid #! scripts because the kernel can't do it securely. |
159 | * It is up to the package designer to make sure that this emulation |
160 | * is done securely. Among other things, it should do an fstat on |
161 | * the script it just opened to make sure it really is a setuid/setgid |
162 | * script, it should make sure the arguments passed correspond exactly |
163 | * to the argument on the #! line, and it should not trust any |
164 | * subprocesses to which it must pass the filename rather than the |
165 | * file descriptor of the script to be executed. |
166 | */ |
167 | /*#define SETUID_SCRIPTS_ARE_SECURE_NOW /**/ |
168 | /*#define DOSUID /**/ |
169 | |
08aa1457 |
170 | /* HAS_DUP2: |
171 | * This symbol, if defined, indicates that the dup2 routine is |
172 | * available to duplicate file descriptors. |
173 | */ |
174 | #define HAS_DUP2 /**/ |
175 | |
176 | /* HAS_FCHMOD: |
177 | * This symbol, if defined, indicates that the fchmod routine is available |
178 | * to change mode of opened files. If unavailable, use chmod(). |
179 | */ |
180 | /*#define HAS_FCHMOD /**/ |
181 | |
182 | /* HAS_FCHOWN: |
183 | * This symbol, if defined, indicates that the fchown routine is available |
184 | * to change ownership of opened files. If unavailable, use chown(). |
185 | */ |
186 | /*#define HAS_FCHOWN /**/ |
187 | |
188 | /* HAS_FCNTL: |
189 | * This symbol, if defined, indicates to the C program that |
190 | * the fcntl() function exists. |
191 | */ |
192 | /*#define HAS_FCNTL /**/ |
193 | |
194 | /* HAS_FGETPOS: |
195 | * This symbol, if defined, indicates that the fgetpos routine is |
196 | * available to get the file position indicator, similar to ftell(). |
197 | */ |
198 | #define HAS_FGETPOS /**/ |
199 | |
200 | /* FLEXFILENAMES: |
201 | * This symbol, if defined, indicates that the system supports filenames |
202 | * longer than 14 characters. |
203 | */ |
204 | #define FLEXFILENAMES /**/ |
205 | |
206 | /* HAS_FLOCK: |
207 | * This symbol, if defined, indicates that the flock routine is |
208 | * available to do file locking. |
209 | */ |
210 | #define HAS_FLOCK /**/ |
211 | |
212 | /* HAS_FORK: |
213 | * This symbol, if defined, indicates that the fork routine is |
214 | * available. |
215 | */ |
216 | /*#define HAS_FORK /**/ |
217 | |
218 | /* HAS_FSETPOS: |
219 | * This symbol, if defined, indicates that the fsetpos routine is |
220 | * available to set the file position indicator, similar to fseek(). |
221 | */ |
222 | #define HAS_FSETPOS /**/ |
223 | |
224 | /* HAS_GETTIMEOFDAY: |
225 | * This symbol, if defined, indicates that the gettimeofday() system |
226 | * call is available for a sub-second accuracy clock. Usually, the file |
227 | * <sys/resource.h> needs to be included (see I_SYS_RESOURCE). |
228 | * The type "Timeval" should be used to refer to "struct timeval". |
229 | */ |
230 | /*#define HAS_GETTIMEOFDAY /**/ |
231 | #ifdef HAS_GETTIMEOFDAY |
232 | #define Timeval struct timeval /* Structure used by gettimeofday() */ |
233 | #endif |
234 | |
235 | /* HAS_GETGROUPS: |
236 | * This symbol, if defined, indicates that the getgroups() routine is |
237 | * available to get the list of process groups. If unavailable, multiple |
238 | * groups are probably not supported. |
239 | */ |
08aa1457 |
240 | /*#define HAS_GETGROUPS /**/ |
08aa1457 |
241 | |
08aa1457 |
242 | /* HAS_UNAME: |
243 | * This symbol, if defined, indicates that the C program may use the |
244 | * uname() routine to derive the host name. See also HAS_GETHOSTNAME |
245 | * and PHOSTNAME. |
246 | */ |
247 | /*#define HAS_UNAME /**/ |
248 | |
249 | /* HAS_GETLOGIN: |
250 | * This symbol, if defined, indicates that the getlogin routine is |
251 | * available to get the login name. |
252 | */ |
e34ffe5a |
253 | #define HAS_GETLOGIN /**/ |
08aa1457 |
254 | |
924b3ec4 |
255 | /* HAS_GETPGID: |
256 | * This symbol, if defined, indicates to the C program that |
257 | * the getpgid(pid) function is available to get the |
258 | * process group id. |
259 | */ |
260 | /*#define HAS_GETPGID /**/ |
261 | |
262 | /* HAS_GETPGRP: |
263 | * This symbol, if defined, indicates that the getpgrp routine is |
264 | * available to get the current process group. |
265 | */ |
266 | /* USE_BSD_GETPGRP: |
267 | * This symbol, if defined, indicates that getpgrp needs one |
268 | * arguments whereas USG one needs none. |
269 | */ |
270 | /*#define HAS_GETPGRP /**/ |
271 | /*#define USE_BSD_GETPGRP /**/ |
272 | |
08aa1457 |
273 | /* HAS_GETPGRP2: |
274 | * This symbol, if defined, indicates that the getpgrp2() (as in DG/UX) |
275 | * routine is available to get the current process group. |
276 | */ |
277 | /*#define HAS_GETPGRP2 /**/ |
278 | |
279 | /* HAS_GETPPID: |
280 | * This symbol, if defined, indicates that the getppid routine is |
281 | * available to get the parent process ID. |
282 | */ |
283 | /*#define HAS_GETPPID /**/ |
284 | |
285 | /* HAS_GETPRIORITY: |
286 | * This symbol, if defined, indicates that the getpriority routine is |
287 | * available to get a process's priority. |
288 | */ |
289 | /*#define HAS_GETPRIORITY /**/ |
290 | |
924b3ec4 |
291 | /* HAS_INET_ATON: |
292 | * This symbol, if defined, indicates to the C program that the |
293 | * inet_aton() function is available to parse IP address "dotted-quad" |
294 | * strings. |
08aa1457 |
295 | */ |
924b3ec4 |
296 | /*#define HAS_INET_ATON /**/ |
08aa1457 |
297 | |
298 | /* HAS_KILLPG: |
299 | * This symbol, if defined, indicates that the killpg routine is available |
300 | * to kill process groups. If unavailable, you probably should use kill |
301 | * with a negative process number. |
302 | */ |
303 | /*#define HAS_KILLPG /**/ |
304 | |
305 | /* HAS_LINK: |
306 | * This symbol, if defined, indicates that the link routine is |
307 | * available to create hard links. |
308 | */ |
309 | /*#define HAS_LINK /**/ |
310 | |
311 | /* HAS_LOCALECONV: |
312 | * This symbol, if defined, indicates that the localeconv routine is |
313 | * available for numeric and monetary formatting conventions. |
314 | */ |
315 | #define HAS_LOCALECONV /**/ |
316 | |
317 | /* HAS_LOCKF: |
318 | * This symbol, if defined, indicates that the lockf routine is |
319 | * available to do file locking. |
320 | */ |
321 | /*#define HAS_LOCKF /**/ |
322 | |
323 | /* HAS_LSTAT: |
324 | * This symbol, if defined, indicates that the lstat routine is |
325 | * available to do file stats on symbolic links. |
326 | */ |
327 | /*#define HAS_LSTAT /**/ |
328 | |
329 | /* HAS_MBLEN: |
330 | * This symbol, if defined, indicates that the mblen routine is available |
331 | * to find the number of bytes in a multibye character. |
332 | */ |
333 | #define HAS_MBLEN /**/ |
334 | |
335 | /* HAS_MBSTOWCS: |
336 | * This symbol, if defined, indicates that the mbstowcs routine is |
337 | * available to covert a multibyte string into a wide character string. |
338 | */ |
339 | #define HAS_MBSTOWCS /**/ |
340 | |
341 | /* HAS_MBTOWC: |
342 | * This symbol, if defined, indicates that the mbtowc routine is available |
343 | * to covert a multibyte to a wide character. |
344 | */ |
345 | #define HAS_MBTOWC /**/ |
346 | |
347 | /* HAS_MEMCMP: |
348 | * This symbol, if defined, indicates that the memcmp routine is available |
349 | * to compare blocks of memory. |
350 | */ |
351 | #define HAS_MEMCMP /**/ |
352 | |
353 | /* HAS_MEMCPY: |
354 | * This symbol, if defined, indicates that the memcpy routine is available |
355 | * to copy blocks of memory. |
356 | */ |
357 | #define HAS_MEMCPY /**/ |
358 | |
359 | /* HAS_MEMMOVE: |
360 | * This symbol, if defined, indicates that the memmove routine is available |
361 | * to copy potentially overlapping blocks of memory. This should be used |
362 | * only when HAS_SAFE_BCOPY is not defined. If neither is there, roll your |
363 | * own version. |
364 | */ |
365 | #define HAS_MEMMOVE /**/ |
366 | |
367 | /* HAS_MEMSET: |
368 | * This symbol, if defined, indicates that the memset routine is available |
369 | * to set blocks of memory. |
370 | */ |
371 | #define HAS_MEMSET /**/ |
372 | |
373 | /* HAS_MKDIR: |
374 | * This symbol, if defined, indicates that the mkdir routine is available |
375 | * to create directories. Otherwise you should fork off a new process to |
376 | * exec /bin/mkdir. |
377 | */ |
378 | #define HAS_MKDIR /**/ |
379 | |
380 | /* HAS_MKFIFO: |
381 | * This symbol, if defined, indicates that the mkfifo routine is |
382 | * available to create FIFOs. Otherwise, mknod should be able to |
383 | * do it for you. However, if mkfifo is there, mknod might require |
384 | * super-user privileges which mkfifo will not. |
385 | */ |
386 | /*#define HAS_MKFIFO /**/ |
387 | |
388 | /* HAS_MKTIME: |
389 | * This symbol, if defined, indicates that the mktime routine is |
390 | * available. |
391 | */ |
392 | #define HAS_MKTIME /**/ |
393 | |
08aa1457 |
394 | /* HAS_NICE: |
395 | * This symbol, if defined, indicates that the nice routine is |
396 | * available. |
397 | */ |
398 | /*#define HAS_NICE /**/ |
399 | |
08aa1457 |
400 | /* HAS_PATHCONF: |
401 | * This symbol, if defined, indicates that pathconf() is available |
402 | * to determine file-system related limits and options associated |
403 | * with a given filename. |
404 | */ |
405 | /* HAS_FPATHCONF: |
406 | * This symbol, if defined, indicates that pathconf() is available |
407 | * to determine file-system related limits and options associated |
408 | * with a given open file descriptor. |
409 | */ |
410 | /*#define HAS_PATHCONF /**/ |
411 | /*#define HAS_FPATHCONF /**/ |
412 | |
413 | /* HAS_PAUSE: |
414 | * This symbol, if defined, indicates that the pause routine is |
415 | * available to suspend a process until a signal is received. |
416 | */ |
417 | #define HAS_PAUSE /**/ |
418 | |
419 | /* HAS_PIPE: |
420 | * This symbol, if defined, indicates that the pipe routine is |
421 | * available to create an inter-process channel. |
422 | */ |
423 | #define HAS_PIPE /**/ |
424 | |
425 | /* HAS_POLL: |
426 | * This symbol, if defined, indicates that the poll routine is |
924b3ec4 |
427 | * available to poll active file descriptors. You may safely |
428 | * include <poll.h> when this symbol is defined. |
08aa1457 |
429 | */ |
430 | /*#define HAS_POLL /**/ |
431 | |
432 | /* HAS_READDIR: |
433 | * This symbol, if defined, indicates that the readdir routine is |
434 | * available to read directory entries. You may have to include |
435 | * <dirent.h>. See I_DIRENT. |
436 | */ |
437 | #define HAS_READDIR /**/ |
438 | |
439 | /* HAS_SEEKDIR: |
440 | * This symbol, if defined, indicates that the seekdir routine is |
441 | * available. You may have to include <dirent.h>. See I_DIRENT. |
442 | */ |
443 | #define HAS_SEEKDIR /**/ |
444 | |
445 | /* HAS_TELLDIR: |
446 | * This symbol, if defined, indicates that the telldir routine is |
447 | * available. You may have to include <dirent.h>. See I_DIRENT. |
448 | */ |
449 | #define HAS_TELLDIR /**/ |
450 | |
451 | /* HAS_REWINDDIR: |
452 | * This symbol, if defined, indicates that the rewinddir routine is |
453 | * available. You may have to include <dirent.h>. See I_DIRENT. |
454 | */ |
455 | #define HAS_REWINDDIR /**/ |
456 | |
457 | /* HAS_READLINK: |
458 | * This symbol, if defined, indicates that the readlink routine is |
459 | * available to read the value of a symbolic link. |
460 | */ |
461 | /*#define HAS_READLINK /**/ |
462 | |
463 | /* HAS_RENAME: |
464 | * This symbol, if defined, indicates that the rename routine is available |
465 | * to rename files. Otherwise you should do the unlink(), link(), unlink() |
466 | * trick. |
467 | */ |
468 | #define HAS_RENAME /**/ |
469 | |
470 | /* HAS_RMDIR: |
471 | * This symbol, if defined, indicates that the rmdir routine is |
472 | * available to remove directories. Otherwise you should fork off a |
473 | * new process to exec /bin/rmdir. |
474 | */ |
475 | #define HAS_RMDIR /**/ |
476 | |
08aa1457 |
477 | /* HAS_SELECT: |
478 | * This symbol, if defined, indicates that the select routine is |
479 | * available to select active file descriptors. If the timeout field |
480 | * is used, <sys/time.h> may need to be included. |
481 | */ |
482 | #define HAS_SELECT /**/ |
483 | |
08aa1457 |
484 | /* HAS_SETEGID: |
485 | * This symbol, if defined, indicates that the setegid routine is available |
486 | * to change the effective gid of the current program. |
487 | */ |
488 | /*#define HAS_SETEGID /**/ |
489 | |
490 | /* HAS_SETEUID: |
491 | * This symbol, if defined, indicates that the seteuid routine is available |
492 | * to change the effective uid of the current program. |
493 | */ |
494 | /*#define HAS_SETEUID /**/ |
495 | |
496 | /* HAS_SETLINEBUF: |
497 | * This symbol, if defined, indicates that the setlinebuf routine is |
498 | * available to change stderr or stdout from block-buffered or unbuffered |
499 | * to a line-buffered mode. |
500 | */ |
501 | /*#define HAS_SETLINEBUF /**/ |
502 | |
503 | /* HAS_SETLOCALE: |
504 | * This symbol, if defined, indicates that the setlocale routine is |
505 | * available to handle locale-specific ctype implementations. |
506 | */ |
507 | #define HAS_SETLOCALE /**/ |
508 | |
924b3ec4 |
509 | /* HAS_SETPGID: |
510 | * This symbol, if defined, indicates that the setpgid(pid, gpid) |
511 | * routine is available to set process group ID. |
512 | */ |
513 | /*#define HAS_SETPGID /**/ |
514 | |
515 | /* HAS_SETPGRP: |
516 | * This symbol, if defined, indicates that the setpgrp routine is |
517 | * available to set the current process group. |
518 | */ |
519 | /* USE_BSD_SETPGRP: |
520 | * This symbol, if defined, indicates that setpgrp needs two |
521 | * arguments whereas USG one needs none. See also HAS_SETPGID |
522 | * for a POSIX interface. |
523 | */ |
524 | /*#define HAS_SETPGRP /**/ |
525 | /*#define USE_BSD_SETPGRP /**/ |
526 | |
08aa1457 |
527 | /* HAS_SETPGRP2: |
528 | * This symbol, if defined, indicates that the setpgrp2() (as in DG/UX) |
529 | * routine is available to set the current process group. |
530 | */ |
531 | /*#define HAS_SETPGRP2 /**/ |
532 | |
533 | /* HAS_SETPRIORITY: |
534 | * This symbol, if defined, indicates that the setpriority routine is |
535 | * available to set a process's priority. |
536 | */ |
537 | /*#define HAS_SETPRIORITY /**/ |
538 | |
539 | /* HAS_SETREGID: |
540 | * This symbol, if defined, indicates that the setregid routine is |
541 | * available to change the real and effective gid of the current |
542 | * process. |
543 | */ |
544 | /* HAS_SETRESGID: |
545 | * This symbol, if defined, indicates that the setresgid routine is |
546 | * available to change the real, effective and saved gid of the current |
547 | * process. |
548 | */ |
549 | /*#define HAS_SETREGID /**/ |
550 | /*#define HAS_SETRESGID /**/ |
551 | |
552 | /* HAS_SETREUID: |
553 | * This symbol, if defined, indicates that the setreuid routine is |
554 | * available to change the real and effective uid of the current |
555 | * process. |
556 | */ |
557 | /* HAS_SETRESUID: |
558 | * This symbol, if defined, indicates that the setresuid routine is |
559 | * available to change the real, effective and saved uid of the current |
560 | * process. |
561 | */ |
562 | /*#define HAS_SETREUID /**/ |
563 | /*#define HAS_SETRESUID /**/ |
564 | |
565 | /* HAS_SETRGID: |
566 | * This symbol, if defined, indicates that the setrgid routine is available |
567 | * to change the real gid of the current program. |
568 | */ |
569 | /*#define HAS_SETRGID /**/ |
570 | |
571 | /* HAS_SETRUID: |
572 | * This symbol, if defined, indicates that the setruid routine is available |
573 | * to change the real uid of the current program. |
574 | */ |
575 | /*#define HAS_SETRUID /**/ |
576 | |
577 | /* HAS_SETSID: |
578 | * This symbol, if defined, indicates that the setsid routine is |
579 | * available to set the process group ID. |
580 | */ |
581 | /*#define HAS_SETSID /**/ |
582 | |
08aa1457 |
583 | /* Shmat_t: |
584 | * This symbol holds the return type of the shmat() system call. |
585 | * Usually set to 'void *' or 'char *'. |
586 | */ |
587 | /* HAS_SHMAT_PROTOTYPE: |
588 | * This symbol, if defined, indicates that the sys/shm.h includes |
589 | * a prototype for shmat(). Otherwise, it is up to the program to |
590 | * guess one. Shmat_t shmat _((int, Shmat_t, int)) is a good guess, |
591 | * but not always right so it should be emitted by the program only |
592 | * when HAS_SHMAT_PROTOTYPE is not defined to avoid conflicting defs. |
593 | */ |
594 | #define Shmat_t void * /**/ |
595 | /*#define HAS_SHMAT_PROTOTYPE /**/ |
596 | |
924b3ec4 |
597 | /* HAS_STRCHR: |
598 | * This symbol is defined to indicate that the strchr()/strrchr() |
599 | * functions are available for string searching. If not, try the |
600 | * index()/rindex() pair. |
08aa1457 |
601 | */ |
924b3ec4 |
602 | /* HAS_INDEX: |
603 | * This symbol is defined to indicate that the index()/rindex() |
604 | * functions are available for string searching. |
08aa1457 |
605 | */ |
924b3ec4 |
606 | #define HAS_STRCHR /**/ |
607 | /*#define HAS_INDEX /**/ |
608 | |
609 | /* HAS_STRCOLL: |
610 | * This symbol, if defined, indicates that the strcoll routine is |
611 | * available to compare strings using collating information. |
08aa1457 |
612 | */ |
924b3ec4 |
613 | #define HAS_STRCOLL /**/ |
614 | |
615 | /* USE_STRUCT_COPY: |
616 | * This symbol, if defined, indicates that this C compiler knows how |
617 | * to copy structures. If undefined, you'll need to use a block copy |
618 | * routine of some sort instead. |
08aa1457 |
619 | */ |
924b3ec4 |
620 | #define USE_STRUCT_COPY /**/ |
08aa1457 |
621 | |
08aa1457 |
622 | /* HAS_STRTOD: |
623 | * This symbol, if defined, indicates that the strtod routine is |
624 | * available to provide better numeric string conversion than atof(). |
625 | */ |
626 | #define HAS_STRTOD /**/ |
627 | |
628 | /* HAS_STRTOL: |
629 | * This symbol, if defined, indicates that the strtol routine is available |
630 | * to provide better numeric string conversion than atoi() and friends. |
631 | */ |
632 | #define HAS_STRTOL /**/ |
633 | |
634 | /* HAS_STRTOUL: |
635 | * This symbol, if defined, indicates that the strtoul routine is |
636 | * available to provide conversion of strings to unsigned long. |
637 | */ |
638 | #define HAS_STRTOUL /**/ |
639 | |
640 | /* HAS_STRXFRM: |
641 | * This symbol, if defined, indicates that the strxfrm() routine is |
642 | * available to transform strings. |
643 | */ |
644 | #define HAS_STRXFRM /**/ |
645 | |
646 | /* HAS_SYMLINK: |
647 | * This symbol, if defined, indicates that the symlink routine is available |
648 | * to create symbolic links. |
649 | */ |
650 | /*#define HAS_SYMLINK /**/ |
651 | |
652 | /* HAS_SYSCALL: |
653 | * This symbol, if defined, indicates that the syscall routine is |
654 | * available to call arbitrary system calls. If undefined, that's tough. |
655 | */ |
656 | /*#define HAS_SYSCALL /**/ |
657 | |
658 | /* HAS_SYSCONF: |
659 | * This symbol, if defined, indicates that sysconf() is available |
660 | * to determine system related limits and options. |
661 | */ |
662 | /*#define HAS_SYSCONF /**/ |
663 | |
664 | /* HAS_SYSTEM: |
665 | * This symbol, if defined, indicates that the system routine is |
666 | * available to issue a shell command. |
667 | */ |
668 | #define HAS_SYSTEM /**/ |
669 | |
670 | /* HAS_TCGETPGRP: |
671 | * This symbol, if defined, indicates that the tcgetpgrp routine is |
672 | * available to get foreground process group ID. |
673 | */ |
674 | /*#define HAS_TCGETPGRP /**/ |
675 | |
676 | /* HAS_TCSETPGRP: |
677 | * This symbol, if defined, indicates that the tcsetpgrp routine is |
678 | * available to set foreground process group ID. |
679 | */ |
680 | /*#define HAS_TCSETPGRP /**/ |
681 | |
08aa1457 |
682 | /* HAS_TRUNCATE: |
683 | * This symbol, if defined, indicates that the truncate routine is |
684 | * available to truncate files. |
685 | */ |
686 | /*#define HAS_TRUNCATE /**/ |
687 | |
688 | /* HAS_TZNAME: |
689 | * This symbol, if defined, indicates that the tzname[] array is |
690 | * available to access timezone names. |
691 | */ |
692 | #define HAS_TZNAME /**/ |
693 | |
694 | /* HAS_UMASK: |
695 | * This symbol, if defined, indicates that the umask routine is |
696 | * available to set and get the value of the file creation mask. |
697 | */ |
698 | #define HAS_UMASK /**/ |
699 | |
700 | /* HAS_VFORK: |
701 | * This symbol, if defined, indicates that vfork() exists. |
702 | */ |
703 | /*#define HAS_VFORK /**/ |
704 | |
08aa1457 |
705 | /* HASVOLATILE: |
706 | * This symbol, if defined, indicates that this C compiler knows about |
707 | * the volatile declaration. |
708 | */ |
709 | #define HASVOLATILE /**/ |
710 | #ifndef HASVOLATILE |
711 | #define volatile |
712 | #endif |
713 | |
08aa1457 |
714 | /* HAS_WAIT4: |
715 | * This symbol, if defined, indicates that wait4() exists. |
716 | */ |
717 | /*#define HAS_WAIT4 /**/ |
718 | |
719 | /* HAS_WAITPID: |
720 | * This symbol, if defined, indicates that the waitpid routine is |
721 | * available to wait for child process. |
722 | */ |
f55ee38a |
723 | #define HAS_WAITPID /**/ |
08aa1457 |
724 | |
725 | /* HAS_WCSTOMBS: |
726 | * This symbol, if defined, indicates that the wcstombs routine is |
727 | * available to convert wide character strings to multibyte strings. |
728 | */ |
729 | #define HAS_WCSTOMBS /**/ |
730 | |
731 | /* HAS_WCTOMB: |
732 | * This symbol, if defined, indicates that the wctomb routine is available |
733 | * to covert a wide character to a multibyte. |
734 | */ |
735 | #define HAS_WCTOMB /**/ |
736 | |
28e8609d |
737 | /* I_ARPA_INET: |
327c3667 |
738 | * This symbol, if defined, indicates to the C program that it should |
739 | * include <arpa/inet.h> to get inet_addr and friends declarations. |
28e8609d |
740 | */ |
327c3667 |
741 | #define I_ARPA_INET /**/ |
28e8609d |
742 | |
924b3ec4 |
743 | /* I_DBM: |
744 | * This symbol, if defined, indicates that <dbm.h> exists and should |
745 | * be included. |
08aa1457 |
746 | */ |
924b3ec4 |
747 | /* I_RPCSVC_DBM: |
748 | * This symbol, if defined, indicates that <rpcsvc/dbm.h> exists and |
749 | * should be included. |
08aa1457 |
750 | */ |
924b3ec4 |
751 | /*#define I_DBM /**/ |
752 | #define I_RPCSVC_DBM /**/ |
08aa1457 |
753 | |
754 | /* I_DIRENT: |
755 | * This symbol, if defined, indicates to the C program that it should |
756 | * include <dirent.h>. Using this symbol also triggers the definition |
757 | * of the Direntry_t define which ends up being 'struct dirent' or |
758 | * 'struct direct' depending on the availability of <dirent.h>. |
759 | */ |
760 | /* DIRNAMLEN: |
761 | * This symbol, if defined, indicates to the C program that the length |
762 | * of directory entry names is provided by a d_namlen field. Otherwise |
763 | * you need to do strlen() on the d_name field. |
764 | */ |
765 | /* Direntry_t: |
766 | * This symbol is set to 'struct direct' or 'struct dirent' depending on |
767 | * whether dirent is available or not. You should use this pseudo type to |
768 | * portably declare your directory entries. |
769 | */ |
770 | #define I_DIRENT /**/ |
771 | #define DIRNAMLEN /**/ |
772 | #define Direntry_t struct direct |
773 | |
774 | /* I_DLFCN: |
775 | * This symbol, if defined, indicates that <dlfcn.h> exists and should |
776 | * be included. |
777 | */ |
778 | #define I_DLFCN /**/ |
779 | |
780 | /* I_FCNTL: |
781 | * This manifest constant tells the C program to include <fcntl.h>. |
782 | */ |
783 | #define I_FCNTL /**/ |
784 | |
785 | /* I_FLOAT: |
786 | * This symbol, if defined, indicates to the C program that it should |
787 | * include <float.h> to get definition of symbols like DBL_MAX or |
788 | * DBL_MIN, i.e. machine dependent floating point values. |
789 | */ |
790 | #define I_FLOAT /**/ |
791 | |
08aa1457 |
792 | /* I_LIMITS: |
793 | * This symbol, if defined, indicates to the C program that it should |
794 | * include <limits.h> to get definition of symbols like WORD_BIT or |
795 | * LONG_MAX, i.e. machine dependant limitations. |
796 | */ |
797 | #define I_LIMITS /**/ |
798 | |
924b3ec4 |
799 | /* I_LOCALE: |
800 | * This symbol, if defined, indicates to the C program that it should |
801 | * include <locale.h>. |
802 | */ |
803 | #define I_LOCALE /**/ |
804 | |
08aa1457 |
805 | /* I_MATH: |
806 | * This symbol, if defined, indicates to the C program that it should |
807 | * include <math.h>. |
808 | */ |
809 | #define I_MATH /**/ |
810 | |
811 | /* I_MEMORY: |
812 | * This symbol, if defined, indicates to the C program that it should |
813 | * include <memory.h>. |
814 | */ |
815 | /*#define I_MEMORY /**/ |
816 | |
817 | /* I_NDBM: |
818 | * This symbol, if defined, indicates that <ndbm.h> exists and should |
819 | * be included. |
820 | */ |
821 | /*#define I_NDBM /**/ |
822 | |
823 | /* I_NET_ERRNO: |
824 | * This symbol, if defined, indicates that <net/errno.h> exists and |
825 | * should be included. |
826 | */ |
827 | /*#define I_NET_ERRNO /**/ |
828 | |
829 | /* I_NETINET_IN: |
830 | * This symbol, if defined, indicates to the C program that it should |
831 | * include <netinet/in.h>. Otherwise, you may try <sys/in.h>. |
832 | */ |
833 | /*#define I_NETINET_IN /**/ |
834 | |
924b3ec4 |
835 | /* I_SFIO: |
836 | * This symbol, if defined, indicates to the C program that it should |
837 | * include <sfio.h>. |
838 | */ |
839 | /*#define I_SFIO /**/ |
840 | |
08aa1457 |
841 | /* I_STDDEF: |
842 | * This symbol, if defined, indicates that <stddef.h> exists and should |
843 | * be included. |
844 | */ |
845 | #define I_STDDEF /**/ |
846 | |
847 | /* I_STDLIB: |
848 | * This symbol, if defined, indicates that <stdlib.h> exists and should |
849 | * be included. |
850 | */ |
851 | #define I_STDLIB /**/ |
852 | |
853 | /* I_STRING: |
854 | * This symbol, if defined, indicates to the C program that it should |
855 | * include <string.h> (USG systems) instead of <strings.h> (BSD systems). |
856 | */ |
857 | #define I_STRING /**/ |
858 | |
859 | /* I_SYS_DIR: |
860 | * This symbol, if defined, indicates to the C program that it should |
861 | * include <sys/dir.h>. |
862 | */ |
863 | /*#define I_SYS_DIR /**/ |
864 | |
865 | /* I_SYS_FILE: |
866 | * This symbol, if defined, indicates to the C program that it should |
867 | * include <sys/file.h> to get definition of R_OK and friends. |
868 | */ |
869 | /*#define I_SYS_FILE /**/ |
870 | |
871 | /* I_SYS_IOCTL: |
872 | * This symbol, if defined, indicates that <sys/ioctl.h> exists and should |
873 | * be included. Otherwise, include <sgtty.h> or <termio.h>. |
874 | */ |
875 | /*#define I_SYS_IOCTL /**/ |
876 | |
877 | /* I_SYS_NDIR: |
878 | * This symbol, if defined, indicates to the C program that it should |
879 | * include <sys/ndir.h>. |
880 | */ |
881 | /*#define I_SYS_NDIR /**/ |
882 | |
883 | /* I_SYS_PARAM: |
884 | * This symbol, if defined, indicates to the C program that it should |
885 | * include <sys/param.h>. |
886 | */ |
887 | /*#define I_SYS_PARAM /**/ |
888 | |
889 | /* I_SYS_RESOURCE: |
890 | * This symbol, if defined, indicates to the C program that it should |
891 | * include <sys/resource.h>. |
892 | */ |
893 | /*#define I_SYS_RESOURCE /**/ |
894 | |
895 | /* I_SYS_SELECT: |
896 | * This symbol, if defined, indicates to the C program that it should |
897 | * include <sys/select.h> in order to get definition of struct timeval. |
898 | */ |
899 | /*#define I_SYS_SELECT /**/ |
900 | |
924b3ec4 |
901 | /* I_SYS_STAT: |
902 | * This symbol, if defined, indicates to the C program that it should |
903 | * include <sys/stat.h>. |
904 | */ |
905 | #define I_SYS_STAT /**/ |
906 | |
08aa1457 |
907 | /* I_SYS_TIMES: |
908 | * This symbol, if defined, indicates to the C program that it should |
909 | * include <sys/times.h>. |
910 | */ |
911 | /*#define I_SYS_TIMES /**/ |
912 | |
be44fb0e |
913 | /* I_SYS_TYPES: |
914 | * This symbol, if defined, indicates to the C program that it should |
915 | * include <sys/types.h>. |
916 | */ |
917 | #define I_SYS_TYPES /**/ |
918 | |
08aa1457 |
919 | /* I_SYS_UN: |
920 | * This symbol, if defined, indicates to the C program that it should |
921 | * include <sys/un.h> to get UNIX domain socket definitions. |
922 | */ |
923 | /*#define I_SYS_UN /**/ |
924 | |
925 | /* I_SYS_WAIT: |
926 | * This symbol, if defined, indicates to the C program that it should |
927 | * include <sys/wait.h>. |
928 | */ |
929 | /*#define I_SYS_WAIT /**/ |
930 | |
931 | /* I_TERMIO: |
932 | * This symbol, if defined, indicates that the program should include |
933 | * <termio.h> rather than <sgtty.h>. There are also differences in |
934 | * the ioctl() calls that depend on the value of this symbol. |
935 | */ |
936 | /* I_TERMIOS: |
937 | * This symbol, if defined, indicates that the program should include |
938 | * the POSIX termios.h rather than sgtty.h or termio.h. |
939 | * There are also differences in the ioctl() calls that depend on the |
940 | * value of this symbol. |
941 | */ |
942 | /* I_SGTTY: |
943 | * This symbol, if defined, indicates that the program should include |
944 | * <sgtty.h> rather than <termio.h>. There are also differences in |
945 | * the ioctl() calls that depend on the value of this symbol. |
946 | */ |
947 | /*#define I_TERMIO /**/ |
948 | /*#define I_TERMIOS /**/ |
949 | /*#define I_SGTTY /**/ |
950 | |
08aa1457 |
951 | /* I_UNISTD: |
952 | * This symbol, if defined, indicates to the C program that it should |
953 | * include <unistd.h>. |
954 | */ |
955 | /*#define I_UNISTD /**/ |
956 | |
957 | /* I_UTIME: |
958 | * This symbol, if defined, indicates to the C program that it should |
959 | * include <utime.h>. |
960 | */ |
961 | #define I_UTIME /**/ |
962 | |
924b3ec4 |
963 | /* I_VALUES: |
964 | * This symbol, if defined, indicates to the C program that it should |
965 | * include <values.h> to get definition of symbols like MINFLOAT or |
966 | * MAXLONG, i.e. machine dependant limitations. Probably, you |
967 | * should use <limits.h> instead, if it is available. |
968 | */ |
969 | /*#define I_VALUES /**/ |
970 | |
08aa1457 |
971 | /* I_STDARG: |
972 | * This symbol, if defined, indicates that <stdarg.h> exists and should |
973 | * be included. |
974 | */ |
975 | /* I_VARARGS: |
976 | * This symbol, if defined, indicates to the C program that it should |
977 | * include <varargs.h>. |
978 | */ |
979 | #define I_STDARG /**/ |
980 | /*#define I_VARARGS /**/ |
981 | |
982 | /* I_VFORK: |
983 | * This symbol, if defined, indicates to the C program that it should |
984 | * include vfork.h. |
985 | */ |
986 | /*#define I_VFORK /**/ |
987 | |
08aa1457 |
988 | /* CAN_PROTOTYPE: |
989 | * If defined, this macro indicates that the C compiler can handle |
990 | * function prototypes. |
991 | */ |
992 | /* _: |
993 | * This macro is used to declare function parameters for folks who want |
994 | * to make declarations with prototypes using a different style than |
995 | * the above macros. Use double parentheses. For example: |
996 | * |
997 | * int main _((int argc, char *argv[])); |
998 | */ |
999 | #define CAN_PROTOTYPE /**/ |
1000 | #ifdef CAN_PROTOTYPE |
1001 | #define _(args) args |
1002 | #else |
1003 | #define _(args) () |
1004 | #endif |
1005 | |
924b3ec4 |
1006 | /* SH_PATH: |
1007 | * This symbol contains the full pathname to the shell used on this |
1008 | * on this system to execute Bourne shell scripts. Usually, this will be |
1009 | * /bin/sh, though it's possible that some systems will have /bin/ksh, |
1010 | * /bin/pdksh, /bin/ash, /bin/bash, or even something such as |
1011 | * D:/bin/sh.exe. |
08aa1457 |
1012 | */ |
924b3ec4 |
1013 | #define SH_PATH "cmd /x /c" /**/ |
08aa1457 |
1014 | |
08aa1457 |
1015 | /* STDCHAR: |
1016 | * This symbol is defined to be the type of char used in stdio.h. |
1017 | * It has the values "unsigned char" or "char". |
1018 | */ |
1019 | #define STDCHAR unsigned char /**/ |
1020 | |
327c3667 |
1021 | /* HAS_ACCESSX: |
1022 | * This symbol, if defined, indicates that the accessx routine is |
1023 | * available to do extended access checks. |
1024 | */ |
1025 | /*#define HAS_ACCESSX /**/ |
1026 | |
1027 | /* HAS_EACCESS: |
1028 | * This symbol, if defined, indicates that the eaccess routine is |
1029 | * available to do extended access checks. |
1030 | */ |
1031 | /*#define HAS_EACCESS /**/ |
1032 | |
1033 | /* I_SYS_ACCESS: |
1034 | * This symbol, if defined, indicates to the C program that it should |
1035 | * include <sysaccess.h>. |
1036 | */ |
1037 | /*#define I_SYS_ACCESS /**/ |
1038 | |
1039 | /* I_SYS_SECURITY: |
1040 | * This symbol, if defined, indicates to the C program that it should |
1041 | * include <sys/security.h>. |
1042 | */ |
1043 | /*#define I_SYS_SECURITY /**/ |
1044 | |
924b3ec4 |
1045 | /* MEM_ALIGNBYTES: |
1046 | * This symbol contains the number of bytes required to align a |
1047 | * double. Usual values are 2, 4 and 8. |
1048 | * On NeXT starting with 3.2, you can build "Fat" Multiple Architecture |
1049 | * Binaries (MAB) for targets with varying alignment. This only matters |
1050 | * for perl, where the config.h can be generated and installed on one |
1051 | * system, and used by a different architecture to build an extension. |
1052 | * The default is eight, for safety. |
08aa1457 |
1053 | */ |
924b3ec4 |
1054 | #define MEM_ALIGNBYTES 8 /**/ |
08aa1457 |
1055 | |
1056 | /* BYTEORDER: |
1057 | * This symbol holds the hexadecimal constant defined in byteorder, |
1058 | * i.e. 0x1234 or 0x4321, etc... |
1059 | * On NeXT 3.2 (and greater), you can build "Fat" Multiple Architecture |
1060 | * Binaries (MAB) on either big endian or little endian machines. |
1061 | * The endian-ness is available at compile-time. This only matters |
1062 | * for perl, where the config.h can be generated and installed on |
1063 | * one system, and used by a different architecture to build an |
1064 | * extension. Older versions of NeXT that might not have |
1065 | * defined either *_ENDIAN__ were all on Motorola 680x0 series, |
1066 | * so the default case (for NeXT) is big endian to catch them. |
1067 | * This might matter for NeXT 3.0. |
1068 | */ |
1069 | #ifndef NeXT |
1070 | #define BYTEORDER 0x1234 /* large digits for MSB */ |
1071 | #else /* NeXT */ |
1072 | #ifdef __LITTLE_ENDIAN__ |
1073 | #define BYTEORDER 0x1234 |
1074 | #else /* __BIG_ENDIAN__ */ |
1075 | #define BYTEORDER 0x4321 |
1076 | #endif /* ENDIAN CHECK */ |
1077 | #endif /* NeXT */ |
1078 | |
924b3ec4 |
1079 | /* CASTI32: |
1080 | * This symbol is defined if the C compiler can cast negative |
1081 | * or large floating point numbers to 32-bit ints. |
08aa1457 |
1082 | */ |
924b3ec4 |
1083 | #define CASTI32 /**/ |
08aa1457 |
1084 | |
924b3ec4 |
1085 | /* CASTNEGFLOAT: |
1086 | * This symbol is defined if the C compiler can cast negative |
1087 | * numbers to unsigned longs, ints and shorts. |
08aa1457 |
1088 | */ |
924b3ec4 |
1089 | /* CASTFLAGS: |
1090 | * This symbol contains flags that say what difficulties the compiler |
1091 | * has casting odd floating values to unsigned long: |
1092 | * 0 = ok |
1093 | * 1 = couldn't cast < 0 |
1094 | * 2 = couldn't cast >= 0x80000000 |
1095 | * 4 = couldn't cast in argument expression list |
08aa1457 |
1096 | */ |
924b3ec4 |
1097 | #define CASTNEGFLOAT /**/ |
1098 | #define CASTFLAGS 0 /**/ |
1099 | |
1100 | /* VOID_CLOSEDIR: |
1101 | * This symbol, if defined, indicates that the closedir() routine |
1102 | * does not return a value. |
08aa1457 |
1103 | */ |
924b3ec4 |
1104 | /*#define VOID_CLOSEDIR /**/ |
08aa1457 |
1105 | |
1106 | /* Gconvert: |
1107 | * This preprocessor macro is defined to convert a floating point |
1108 | * number to a string without a trailing decimal point. This |
1109 | * emulates the behavior of sprintf("%g"), but is sometimes much more |
1110 | * efficient. If gconvert() is not available, but gcvt() drops the |
1111 | * trailing decimal point, then gcvt() is used. If all else fails, |
1112 | * a macro using sprintf("%g") is used. Arguments for the Gconvert |
1113 | * macro are: value, number of digits, whether trailing zeros should |
1114 | * be retained, and the output buffer. |
1115 | * Possible values are: |
1116 | * d_Gconvert='gconvert((x),(n),(t),(b))' |
1117 | * d_Gconvert='gcvt((x),(n),(b))' |
1118 | * d_Gconvert='sprintf((b),"%.*g",(n),(x))' |
1119 | * The last two assume trailing zeros should not be kept. |
1120 | */ |
ad2e33dc |
1121 | #define Gconvert(x,n,t,b) gcvt((x),(n),(b)) |
08aa1457 |
1122 | |
924b3ec4 |
1123 | /* HAS_GNULIBC: |
08aa1457 |
1124 | * This symbol, if defined, indicates to the C program that |
924b3ec4 |
1125 | * the GNU C library is being used. |
08aa1457 |
1126 | */ |
924b3ec4 |
1127 | /*#define HAS_GNULIBC /**/ |
1128 | /* HAS_ISASCII: |
1129 | * This manifest constant lets the C program know that isascii |
1130 | * is available. |
08aa1457 |
1131 | */ |
924b3ec4 |
1132 | #define HAS_ISASCII /**/ |
08aa1457 |
1133 | |
be44fb0e |
1134 | /* HAS_LCHOWN: |
1135 | * This symbol, if defined, indicates that the lchown routine is |
1136 | * available to operate on a symbolic link (instead of following the |
1137 | * link). |
1138 | */ |
1139 | /*#define HAS_LCHOWN /**/ |
1140 | |
924b3ec4 |
1141 | /* HAS_OPEN3: |
1142 | * This manifest constant lets the C program know that the three |
1143 | * argument form of open(2) is available. |
08aa1457 |
1144 | */ |
924b3ec4 |
1145 | /*#define HAS_OPEN3 /**/ |
08aa1457 |
1146 | |
924b3ec4 |
1147 | /* HAS_SAFE_BCOPY: |
1148 | * This symbol, if defined, indicates that the bcopy routine is available |
1149 | * to copy potentially overlapping memory blocks. Otherwise you should |
1150 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1151 | * own version. |
08aa1457 |
1152 | */ |
924b3ec4 |
1153 | /*#define HAS_SAFE_BCOPY /**/ |
08aa1457 |
1154 | |
924b3ec4 |
1155 | /* HAS_SAFE_MEMCPY: |
1156 | * This symbol, if defined, indicates that the memcpy routine is available |
1157 | * to copy potentially overlapping memory blocks. Otherwise you should |
1158 | * probably use memmove() or memcpy(). If neither is defined, roll your |
1159 | * own version. |
08aa1457 |
1160 | */ |
924b3ec4 |
1161 | /*#define HAS_SAFE_MEMCPY /**/ |
08aa1457 |
1162 | |
924b3ec4 |
1163 | /* HAS_SANE_MEMCMP: |
1164 | * This symbol, if defined, indicates that the memcmp routine is available |
1165 | * and can be used to compare relative magnitudes of chars with their high |
1166 | * bits set. If it is not defined, roll your own version. |
08aa1457 |
1167 | */ |
924b3ec4 |
1168 | #define HAS_SANE_MEMCMP /**/ |
08aa1457 |
1169 | |
924b3ec4 |
1170 | /* HAS_SIGACTION: |
1171 | * This symbol, if defined, indicates that Vr4's sigaction() routine |
1172 | * is available. |
fea7140c |
1173 | */ |
924b3ec4 |
1174 | /*#define HAS_SIGACTION /**/ |
fea7140c |
1175 | |
08aa1457 |
1176 | /* Sigjmp_buf: |
1177 | * This is the buffer type to be used with Sigsetjmp and Siglongjmp. |
1178 | */ |
1179 | /* Sigsetjmp: |
1180 | * This macro is used in the same way as sigsetjmp(), but will invoke |
1181 | * traditional setjmp() if sigsetjmp isn't available. |
1182 | * See HAS_SIGSETJMP. |
1183 | */ |
1184 | /* Siglongjmp: |
1185 | * This macro is used in the same way as siglongjmp(), but will invoke |
1186 | * traditional longjmp() if siglongjmp isn't available. |
1187 | * See HAS_SIGSETJMP. |
1188 | */ |
1189 | /*#define HAS_SIGSETJMP /**/ |
1190 | #ifdef HAS_SIGSETJMP |
1191 | #define Sigjmp_buf sigjmp_buf |
1192 | #define Sigsetjmp(buf,save_mask) sigsetjmp((buf),(save_mask)) |
1193 | #define Siglongjmp(buf,retval) siglongjmp((buf),(retval)) |
1194 | #else |
1195 | #define Sigjmp_buf jmp_buf |
1196 | #define Sigsetjmp(buf,save_mask) setjmp((buf)) |
1197 | #define Siglongjmp(buf,retval) longjmp((buf),(retval)) |
1198 | #endif |
1199 | |
924b3ec4 |
1200 | /* USE_STDIO_PTR: |
1201 | * This symbol is defined if the _ptr and _cnt fields (or similar) |
1202 | * of the stdio FILE structure can be used to access the stdio buffer |
1203 | * for a file handle. If this is defined, then the FILE_ptr(fp) |
1204 | * and FILE_cnt(fp) macros will also be defined and should be used |
1205 | * to access these fields. |
08aa1457 |
1206 | */ |
924b3ec4 |
1207 | /* FILE_ptr: |
1208 | * This macro is used to access the _ptr field (or equivalent) of the |
1209 | * FILE structure pointed to by its argument. This macro will always be |
1210 | * defined if USE_STDIO_PTR is defined. |
1211 | */ |
1212 | /* STDIO_PTR_LVALUE: |
1213 | * This symbol is defined if the FILE_ptr macro can be used as an |
1214 | * lvalue. |
1215 | */ |
1216 | /* FILE_cnt: |
1217 | * This macro is used to access the _cnt field (or equivalent) of the |
1218 | * FILE structure pointed to by its argument. This macro will always be |
1219 | * defined if USE_STDIO_PTR is defined. |
1220 | */ |
1221 | /* STDIO_CNT_LVALUE: |
1222 | * This symbol is defined if the FILE_cnt macro can be used as an |
1223 | * lvalue. |
1224 | */ |
1225 | #define USE_STDIO_PTR /**/ |
1226 | #ifdef USE_STDIO_PTR |
1227 | #define FILE_ptr(fp) ((fp)->curp) |
1228 | #define STDIO_PTR_LVALUE /**/ |
1229 | #define FILE_cnt(fp) ((fp)->level) |
1230 | #define STDIO_CNT_LVALUE /**/ |
1231 | #endif |
08aa1457 |
1232 | |
924b3ec4 |
1233 | /* USE_STDIO_BASE: |
1234 | * This symbol is defined if the _base field (or similar) of the |
1235 | * stdio FILE structure can be used to access the stdio buffer for |
1236 | * a file handle. If this is defined, then the FILE_base(fp) macro |
1237 | * will also be defined and should be used to access this field. |
1238 | * Also, the FILE_bufsiz(fp) macro will be defined and should be used |
1239 | * to determine the number of bytes in the buffer. USE_STDIO_BASE |
1240 | * will never be defined unless USE_STDIO_PTR is. |
08aa1457 |
1241 | */ |
924b3ec4 |
1242 | /* FILE_base: |
1243 | * This macro is used to access the _base field (or equivalent) of the |
1244 | * FILE structure pointed to by its argument. This macro will always be |
1245 | * defined if USE_STDIO_BASE is defined. |
08aa1457 |
1246 | */ |
924b3ec4 |
1247 | /* FILE_bufsiz: |
1248 | * This macro is used to determine the number of bytes in the I/O |
1249 | * buffer pointed to by _base field (or equivalent) of the FILE |
1250 | * structure pointed to its argument. This macro will always be defined |
1251 | * if USE_STDIO_BASE is defined. |
1252 | */ |
1253 | #define USE_STDIO_BASE /**/ |
1254 | #ifdef USE_STDIO_BASE |
1255 | #define FILE_base(fp) ((fp)->buffer) |
1256 | #define FILE_bufsiz(fp) ((fp)->level + (fp)->curp - (fp)->buffer) |
1257 | #endif |
08aa1457 |
1258 | |
924b3ec4 |
1259 | /* HAS_VPRINTF: |
1260 | * This symbol, if defined, indicates that the vprintf routine is available |
1261 | * to printf with a pointer to an argument list. If unavailable, you |
1262 | * may need to write your own, probably in terms of _doprnt(). |
08aa1457 |
1263 | */ |
924b3ec4 |
1264 | /* USE_CHAR_VSPRINTF: |
1265 | * This symbol is defined if this system has vsprintf() returning type |
1266 | * (char*). The trend seems to be to declare it as "int vsprintf()". It |
1267 | * is up to the package author to declare vsprintf correctly based on the |
1268 | * symbol. |
1269 | */ |
1270 | #define HAS_VPRINTF /**/ |
1271 | /*#define USE_CHAR_VSPRINTF /**/ |
08aa1457 |
1272 | |
07ba5892 |
1273 | /* DOUBLESIZE: |
1274 | * This symbol contains the size of a double, so that the C preprocessor |
1275 | * can make decisions based on it. |
1276 | */ |
1277 | #define DOUBLESIZE 8 /**/ |
1278 | |
924b3ec4 |
1279 | /* I_TIME: |
08aa1457 |
1280 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1281 | * include <time.h>. |
08aa1457 |
1282 | */ |
924b3ec4 |
1283 | /* I_SYS_TIME: |
08aa1457 |
1284 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1285 | * include <sys/time.h>. |
08aa1457 |
1286 | */ |
924b3ec4 |
1287 | /* I_SYS_TIME_KERNEL: |
08aa1457 |
1288 | * This symbol, if defined, indicates to the C program that it should |
924b3ec4 |
1289 | * include <sys/time.h> with KERNEL defined. |
08aa1457 |
1290 | */ |
924b3ec4 |
1291 | #define I_TIME /**/ |
1292 | /*#define I_SYS_TIME /**/ |
1293 | /*#define I_SYS_TIME_KERNEL /**/ |
08aa1457 |
1294 | |
924b3ec4 |
1295 | /* INTSIZE: |
1296 | * This symbol contains the value of sizeof(int) so that the C |
1297 | * preprocessor can make decisions based on it. |
08aa1457 |
1298 | */ |
924b3ec4 |
1299 | /* LONGSIZE: |
1300 | * This symbol contains the value of sizeof(long) so that the C |
1301 | * preprocessor can make decisions based on it. |
08aa1457 |
1302 | */ |
924b3ec4 |
1303 | /* SHORTSIZE: |
1304 | * This symbol contains the value of sizeof(short) so that the C |
1305 | * preprocessor can make decisions based on it. |
1306 | */ |
1307 | #define INTSIZE 4 /**/ |
1308 | #define LONGSIZE 4 /**/ |
1309 | #define SHORTSIZE 2 /**/ |
08aa1457 |
1310 | |
924b3ec4 |
1311 | /* VAL_O_NONBLOCK: |
1312 | * This symbol is to be used during open() or fcntl(F_SETFL) to turn on |
1313 | * non-blocking I/O for the file descriptor. Note that there is no way |
1314 | * back, i.e. you cannot turn it blocking again this way. If you wish to |
1315 | * alternatively switch between blocking and non-blocking, use the |
1316 | * ioctl(FIOSNBIO) call instead, but that is not supported by all devices. |
08aa1457 |
1317 | */ |
924b3ec4 |
1318 | /* VAL_EAGAIN: |
1319 | * This symbol holds the errno error code set by read() when no data was |
1320 | * present on the non-blocking file descriptor. |
1321 | */ |
1322 | /* RD_NODATA: |
1323 | * This symbol holds the return code from read() when no data is present |
1324 | * on the non-blocking file descriptor. Be careful! If EOF_NONBLOCK is |
1325 | * not defined, then you can't distinguish between no data and EOF by |
1326 | * issuing a read(). You'll have to find another way to tell for sure! |
1327 | */ |
1328 | /* EOF_NONBLOCK: |
1329 | * This symbol, if defined, indicates to the C program that a read() on |
1330 | * a non-blocking file descriptor will return 0 on EOF, and not the value |
1331 | * held in RD_NODATA (-1 usually, in that case!). |
1332 | */ |
1333 | #define VAL_O_NONBLOCK O_NONBLOCK |
1334 | #define VAL_EAGAIN EAGAIN |
1335 | #define RD_NODATA -1 |
1336 | #define EOF_NONBLOCK |
08aa1457 |
1337 | |
07ba5892 |
1338 | /* PTRSIZE: |
1339 | * This symbol contains the size of a pointer, so that the C preprocessor |
1340 | * can make decisions based on it. It will be sizeof(void *) if |
1341 | * the compiler supports (void *); otherwise it will be |
1342 | * sizeof(char *). |
1343 | */ |
1344 | #define PTRSIZE 4 /**/ |
1345 | |
924b3ec4 |
1346 | /* RANDBITS: |
1347 | * This symbol contains the number of bits of random number the rand() |
1348 | * function produces. Usual values are 15, 16, and 31. |
1349 | */ |
1350 | #define RANDBITS 15 /**/ |
1351 | |
1352 | /* SSize_t: |
1353 | * This symbol holds the type used by functions that return |
1354 | * a count of bytes or an error condition. It must be a signed type. |
1355 | * It is usually ssize_t, but may be long or int, etc. |
1356 | * It may be necessary to include <sys/types.h> or <unistd.h> |
1357 | * to get any typedef'ed information. |
1358 | * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). |
1359 | */ |
1360 | #define SSize_t int /* signed count of bytes */ |
1361 | |
327c3667 |
1362 | /* EBCDIC: |
1363 | * This symbol, if defined, indicates that this system uses |
1364 | * EBCDIC encoding. |
1365 | */ |
1366 | /*#define EBCDIC /**/ |
1367 | |
924b3ec4 |
1368 | /* OSNAME: |
1369 | * This symbol contains the name of the operating system, as determined |
1370 | * by Configure. You shouldn't rely on it too much; the specific |
1371 | * feature tests from Configure are generally more reliable. |
1372 | */ |
1373 | #define OSNAME "MSWin32" /**/ |
1374 | |
924b3ec4 |
1375 | /* CAT2: |
1376 | * This macro catenates 2 tokens together. |
08aa1457 |
1377 | */ |
924b3ec4 |
1378 | /* STRINGIFY: |
1379 | * This macro surrounds its token with double quotes. |
1380 | */ |
1381 | #if 42 == 1 |
1382 | #define CAT2(a,b)a/**/b |
1383 | #define STRINGIFY(a)"a" |
1384 | /* If you can get stringification with catify, tell me how! */ |
1385 | #endif |
1386 | #if 42 == 42 |
1387 | #define CAT2(a,b)a ## b |
1388 | #define StGiFy(a)# a |
1389 | #define STRINGIFY(a)StGiFy(a) |
1390 | #endif |
1391 | #if 42 != 1 && 42 != 42 |
1392 | #include "Bletch: How does this C preprocessor catenate tokens?" |
1393 | #endif |
1394 | |
327c3667 |
1395 | /* HAS_ACCESS: |
1396 | * This manifest constant lets the C program know that the access() |
1397 | * system call is available to check for accessibility using real UID/GID. |
1398 | * (always present on UNIX.) |
1399 | */ |
1400 | #define HAS_ACCESS /**/ |
1401 | |
924b3ec4 |
1402 | /* CSH: |
0cd52aa3 |
1403 | * This symbol, if defined, contains the full pathname of csh. |
08aa1457 |
1404 | */ |
0cd52aa3 |
1405 | /*#define HAS_CSH /**/ |
1406 | #ifdef HAS_CSH |
1407 | #define CSH "" /**/ |
1408 | #endif |
1409 | |
327c3667 |
1410 | /* HAS_ENDGRENT: |
1411 | * This symbol, if defined, indicates that the getgrent routine is |
1412 | * available for finalizing sequential access of the group database. |
1413 | */ |
1414 | /*#define HAS_ENDGRENT /**/ |
1415 | |
0cd52aa3 |
1416 | /* HAS_ENDHOSTENT: |
1417 | * This symbol, if defined, indicates that the endhostent() routine is |
1418 | * available to close whatever was being used for host queries. |
1419 | */ |
1420 | /*#define HAS_ENDHOSTENT /**/ |
1421 | |
1422 | /* HAS_ENDNETENT: |
1423 | * This symbol, if defined, indicates that the endnetent() routine is |
1424 | * available to close whatever was being used for network queries. |
1425 | */ |
1426 | /*#define HAS_ENDNETENT /**/ |
1427 | |
1428 | /* HAS_ENDPROTOENT: |
1429 | * This symbol, if defined, indicates that the endprotoent() routine is |
1430 | * available to close whatever was being used for protocol queries. |
1431 | */ |
1432 | /*#define HAS_ENDPROTOENT /**/ |
1433 | |
327c3667 |
1434 | /* HAS_ENDPWENT: |
1435 | * This symbol, if defined, indicates that the getgrent routine is |
1436 | * available for finalizing sequential access of the passwd database. |
1437 | */ |
1438 | /*#define HAS_ENDPWENT /**/ |
1439 | |
0cd52aa3 |
1440 | /* HAS_ENDSERVENT: |
1441 | * This symbol, if defined, indicates that the endservent() routine is |
1442 | * available to close whatever was being used for service queries. |
1443 | */ |
1444 | /*#define HAS_ENDSERVENT /**/ |
924b3ec4 |
1445 | |
327c3667 |
1446 | /* HAS_GETGRENT: |
1447 | * This symbol, if defined, indicates that the getgrent routine is |
1448 | * available for sequential access of the group database. |
1449 | */ |
1450 | /*#define HAS_GETGRENT /**/ |
1451 | |
07ba5892 |
1452 | /* HAS_GETHOSTBYADDR: |
1453 | * This symbol, if defined, indicates that the gethostbyaddr() routine is |
1454 | * available to look up hosts by their IP addresses. |
1455 | */ |
1456 | #define HAS_GETHOSTBYADDR /**/ |
1457 | |
1458 | /* HAS_GETHOSTBYNAME: |
1459 | * This symbol, if defined, indicates that the gethostbyname() routine is |
1460 | * available to look up host names in some data base or other. |
1461 | */ |
1462 | #define HAS_GETHOSTBYNAME /**/ |
1463 | |
1464 | /* HAS_GETHOSTENT: |
1465 | * This symbol, if defined, indicates that the gethostent() routine is |
1466 | * available to look up host names in some data base or another. |
1467 | */ |
1468 | /*#define HAS_GETHOSTENT /**/ |
1469 | |
1470 | /* HAS_GETNETBYADDR: |
1471 | * This symbol, if defined, indicates that the getnetbyaddr() routine is |
1472 | * available to look up networks by their IP addresses. |
1473 | */ |
1474 | /*#define HAS_GETNETBYADDR /**/ |
1475 | |
1476 | /* HAS_GETNETBYNAME: |
1477 | * This symbol, if defined, indicates that the getnetbyname() routine is |
1478 | * available to look up networks by their names. |
1479 | */ |
1480 | /*#define HAS_GETNETBYNAME /**/ |
1481 | |
0cd52aa3 |
1482 | /* HAS_GETNETENT: |
1483 | * This symbol, if defined, indicates that the getnetent() routine is |
1484 | * available to look up network names in some data base or another. |
1485 | */ |
1486 | /*#define HAS_GETNETENT /**/ |
1487 | |
1488 | /* HAS_GETPROTOENT: |
1489 | * This symbol, if defined, indicates that the getprotoent() routine is |
1490 | * available to look up protocols in some data base or another. |
1491 | */ |
1492 | /*#define HAS_GETPROTOENT /**/ |
1493 | |
07ba5892 |
1494 | /* HAS_GETPROTOBYNAME: |
1495 | * This symbol, if defined, indicates that the getprotobyname() |
1496 | * routine is available to look up protocols by their name. |
1497 | */ |
1498 | /* HAS_GETPROTOBYNUMBER: |
1499 | * This symbol, if defined, indicates that the getprotobynumber() |
1500 | * routine is available to look up protocols by their number. |
1501 | */ |
1502 | #define HAS_GETPROTOBYNAME /**/ |
1503 | #define HAS_GETPROTOBYNUMBER /**/ |
1504 | |
327c3667 |
1505 | /* HAS_GETPWENT: |
1506 | * This symbol, if defined, indicates that the getpwent routine is |
1507 | * available for sequential access of the passwd database. |
1508 | * If this is not available, the older getpw() function may be available. |
1509 | */ |
1510 | /*#define HAS_GETPWENT /**/ |
1511 | |
0cd52aa3 |
1512 | /* HAS_GETSERVENT: |
1513 | * This symbol, if defined, indicates that the getservent() routine is |
1514 | * available to look up network services in some data base or another. |
1515 | */ |
1516 | /*#define HAS_GETSERVENT /**/ |
1517 | |
07ba5892 |
1518 | /* HAS_GETSERVBYNAME: |
1519 | * This symbol, if defined, indicates that the getservbyname() |
1520 | * routine is available to look up services by their name. |
1521 | */ |
1522 | /* HAS_GETSERVBYPORT: |
1523 | * This symbol, if defined, indicates that the getservbyport() |
1524 | * routine is available to look up services by their port. |
1525 | */ |
1526 | #define HAS_GETSERVBYNAME /**/ |
1527 | #define HAS_GETSERVBYPORT /**/ |
1528 | |
327c3667 |
1529 | /* HAS_HTONL: |
1530 | * This symbol, if defined, indicates that the htonl() routine (and |
1531 | * friends htons() ntohl() ntohs()) are available to do network |
1532 | * order byte swapping. |
1533 | */ |
1534 | /* HAS_HTONS: |
1535 | * This symbol, if defined, indicates that the htons() routine (and |
1536 | * friends htonl() ntohl() ntohs()) are available to do network |
1537 | * order byte swapping. |
1538 | */ |
1539 | /* HAS_NTOHL: |
1540 | * This symbol, if defined, indicates that the ntohl() routine (and |
1541 | * friends htonl() htons() ntohs()) are available to do network |
1542 | * order byte swapping. |
1543 | */ |
1544 | /* HAS_NTOHS: |
1545 | * This symbol, if defined, indicates that the ntohs() routine (and |
1546 | * friends htonl() htons() ntohl()) are available to do network |
1547 | * order byte swapping. |
1548 | */ |
1549 | #define HAS_HTONL /**/ |
1550 | #define HAS_HTONS /**/ |
1551 | #define HAS_NTOHL /**/ |
1552 | #define HAS_NTOHS /**/ |
1553 | |
0cd52aa3 |
1554 | /* HAS_LONG_DOUBLE: |
1555 | * This symbol will be defined if the C compiler supports long |
1556 | * doubles. |
1557 | */ |
1558 | /* LONG_DOUBLESIZE: |
1559 | * This symbol contains the size of a long double, so that the |
1560 | * C preprocessor can make decisions based on it. It is only |
1561 | * defined if the system supports long doubles. |
1562 | */ |
1563 | #define HAS_LONG_DOUBLE /**/ |
1564 | #ifdef HAS_LONG_DOUBLE |
1565 | #define LONG_DOUBLESIZE 10 /**/ |
1566 | #endif |
1567 | |
bdaec6b3 |
1568 | /* HAS_LONG_LONG: |
327c3667 |
1569 | * This symbol will be defined if the C compiler supports long long. |
bdaec6b3 |
1570 | */ |
1571 | /* LONGLONGSIZE: |
1572 | * This symbol contains the size of a long long, so that the |
1573 | * C preprocessor can make decisions based on it. It is only |
1574 | * defined if the system supports long long. |
1575 | */ |
1576 | /*#define HAS_LONG_LONG /**/ |
1577 | #ifdef HAS_LONG_LONG |
1578 | #define LONGLONGSIZE 8 /**/ |
1579 | #endif |
1580 | |
327c3667 |
1581 | /* HAS_MSG: |
1582 | * This symbol, if defined, indicates that the entire msg*(2) library is |
1583 | * supported (IPC mechanism based on message queues). |
1584 | */ |
1585 | /*#define HAS_MSG /**/ |
1586 | |
1587 | /* HAS_SEM: |
1588 | * This symbol, if defined, indicates that the entire sem*(2) library is |
1589 | * supported. |
1590 | */ |
1591 | /*#define HAS_SEM /**/ |
1592 | |
1593 | /* HAS_SETGRENT: |
1594 | * This symbol, if defined, indicates that the setgrent routine is |
1595 | * available for initializing sequential access of the group database. |
1596 | */ |
1597 | /*#define HAS_SETGRENT /**/ |
1598 | |
924b3ec4 |
1599 | /* HAS_SETGROUPS: |
1600 | * This symbol, if defined, indicates that the setgroups() routine is |
1601 | * available to set the list of process groups. If unavailable, multiple |
1602 | * groups are probably not supported. |
1603 | */ |
1604 | /*#define HAS_SETGROUPS /**/ |
1605 | |
07ba5892 |
1606 | /* HAS_SETHOSTENT: |
1607 | * This symbol, if defined, indicates that the sethostent() routine is |
1608 | * available. |
1609 | */ |
1610 | /*#define HAS_SETHOSTENT /**/ |
1611 | |
0cd52aa3 |
1612 | /* HAS_SETNETENT: |
1613 | * This symbol, if defined, indicates that the setnetent() routine is |
1614 | * available. |
1615 | */ |
1616 | /*#define HAS_SETNETENT /**/ |
1617 | |
1618 | /* HAS_SETPROTOENT: |
1619 | * This symbol, if defined, indicates that the setprotoent() routine is |
1620 | * available. |
1621 | */ |
1622 | /*#define HAS_SETPROTOENT /**/ |
1623 | |
327c3667 |
1624 | /* HAS_SETPWENT: |
1625 | * This symbol, if defined, indicates that the setpwent routine is |
1626 | * available for initializing sequential access of the passwd database. |
1627 | */ |
1628 | /*#define HAS_SETPWENT /**/ |
1629 | |
0cd52aa3 |
1630 | /* HAS_SETSERVENT: |
1631 | * This symbol, if defined, indicates that the setservent() routine is |
1632 | * available. |
1633 | */ |
1634 | /*#define HAS_SETSERVENT /**/ |
1635 | |
1636 | /* HAS_SETVBUF: |
1637 | * This symbol, if defined, indicates that the setvbuf routine is |
1638 | * available to change buffering on an open stdio stream. |
1639 | * to a line-buffered mode. |
1640 | */ |
1641 | #define HAS_SETVBUF /**/ |
1642 | |
327c3667 |
1643 | /* HAS_SHM: |
1644 | * This symbol, if defined, indicates that the entire shm*(2) library is |
1645 | * supported. |
1646 | */ |
1647 | /*#define HAS_SHM /**/ |
1648 | |
bdaec6b3 |
1649 | /* HAS_SOCKET: |
1650 | * This symbol, if defined, indicates that the BSD socket interface is |
1651 | * supported. |
1652 | */ |
1653 | /* HAS_SOCKETPAIR: |
1654 | * This symbol, if defined, indicates that the BSD socketpair() call is |
1655 | * supported. |
1656 | */ |
1657 | #define HAS_SOCKET /**/ |
1658 | /*#define HAS_SOCKETPAIR /**/ |
1659 | |
327c3667 |
1660 | /* USE_STAT_BLOCKS: |
1661 | * This symbol is defined if this system has a stat structure declaring |
1662 | * st_blksize and st_blocks. |
1663 | */ |
1664 | /*#define USE_STAT_BLOCKS /* backward compatibility */ |
1665 | |
1666 | /* HAS_STRERROR: |
1667 | * This symbol, if defined, indicates that the strerror routine is |
1668 | * available to translate error numbers to strings. See the writeup |
1669 | * of Strerror() in this file before you try to define your own. |
1670 | */ |
1671 | /* HAS_SYS_ERRLIST: |
1672 | * This symbol, if defined, indicates that the sys_errlist array is |
1673 | * available to translate error numbers to strings. The extern int |
1674 | * sys_nerr gives the size of that table. |
1675 | */ |
1676 | /* Strerror: |
1677 | * This preprocessor symbol is defined as a macro if strerror() is |
1678 | * not available to translate error numbers to strings but sys_errlist[] |
1679 | * array is there. |
1680 | */ |
1681 | #define HAS_STRERROR /**/ |
1682 | #define HAS_SYS_ERRLIST /**/ |
1683 | #define Strerror(e) strerror(e) |
1684 | |
be44fb0e |
1685 | /* HAS_UNION_SEMUN: |
1686 | * This symbol, if defined, indicates that the union semun is |
1687 | * defined by including <sys/sem.h>. If not, the user code |
1688 | * probably needs to define it as: |
1689 | * union semun { |
1690 | * int val; |
1691 | * struct semid_ds *buf; |
1692 | * unsigned short *array; |
1693 | * } |
1694 | */ |
1695 | /* USE_SEMCTL_SEMUN: |
1696 | * This symbol, if defined, indicates that union semun is |
1697 | * used for semctl IPC_STAT. |
1698 | */ |
1699 | /* USE_SEMCTL_SEMID_DS: |
1700 | * This symbol, if defined, indicates that struct semid_ds * is |
1701 | * used for semctl IPC_STAT. |
1702 | */ |
1703 | #define HAS_UNION_SEMUN /**/ |
1704 | /*#define USE_SEMCTL_SEMUN /**/ |
1705 | /*#define USE_SEMCTL_SEMID_DS /**/ |
1706 | |
924b3ec4 |
1707 | /* Signal_t: |
1708 | * This symbol's value is either "void" or "int", corresponding to the |
1709 | * appropriate return type of a signal handler. Thus, you can declare |
1710 | * a signal handler using "Signal_t (*handler)()", and define the |
1711 | * handler using "Signal_t handler(sig)". |
1712 | */ |
1713 | #define Signal_t void /* Signal handler's return type */ |
1714 | |
1715 | /* Groups_t: |
1716 | * This symbol holds the type used for the second argument to |
1717 | * getgroups() and setgropus(). Usually, this is the same as |
1718 | * gidtype (gid_t) , but sometimes it isn't. |
1719 | * It can be int, ushort, uid_t, etc... |
1720 | * It may be necessary to include <sys/types.h> to get any |
1721 | * typedef'ed information. This is only required if you have |
1722 | * getgroups() or setgropus().. |
1723 | */ |
1724 | #if defined(HAS_GETGROUPS) || defined(HAS_SETGROUPS) |
1725 | #define Groups_t gid_t /* Type for 2nd arg to [sg]etgroups() */ |
1726 | #endif |
1727 | |
327c3667 |
1728 | /* I_GRP: |
1729 | * This symbol, if defined, indicates to the C program that it should |
1730 | * include <grp.h>. |
1731 | */ |
1732 | /* GRPASSWD: |
1733 | * This symbol, if defined, indicates to the C program that struct group |
1734 | * in <grp.h> contains gr_passwd. |
1735 | */ |
1736 | /*#define I_GRP /**/ |
1737 | /*#define GRPASSWD /**/ |
1738 | |
924b3ec4 |
1739 | /* I_NETDB: |
1740 | * This symbol, if defined, indicates that <netdb.h> exists and |
1741 | * should be included. |
1742 | */ |
1743 | /*#define I_NETDB /**/ |
08aa1457 |
1744 | |
be44fb0e |
1745 | /* I_PWD: |
bdaec6b3 |
1746 | * This symbol, if defined, indicates to the C program that it should |
be44fb0e |
1747 | * include <pwd.h>. |
bdaec6b3 |
1748 | */ |
be44fb0e |
1749 | /* PWQUOTA: |
1750 | * This symbol, if defined, indicates to the C program that struct passwd |
1751 | * contains pw_quota. |
1752 | */ |
1753 | /* PWAGE: |
1754 | * This symbol, if defined, indicates to the C program that struct passwd |
1755 | * contains pw_age. |
1756 | */ |
1757 | /* PWCHANGE: |
1758 | * This symbol, if defined, indicates to the C program that struct passwd |
1759 | * contains pw_change. |
1760 | */ |
1761 | /* PWCLASS: |
1762 | * This symbol, if defined, indicates to the C program that struct passwd |
1763 | * contains pw_class. |
1764 | */ |
1765 | /* PWEXPIRE: |
1766 | * This symbol, if defined, indicates to the C program that struct passwd |
1767 | * contains pw_expire. |
1768 | */ |
1769 | /* PWCOMMENT: |
1770 | * This symbol, if defined, indicates to the C program that struct passwd |
1771 | * contains pw_comment. |
1772 | */ |
1773 | /* PWGECOS: |
1774 | * This symbol, if defined, indicates to the C program that struct passwd |
1775 | * contains pw_gecos. |
1776 | */ |
28e8609d |
1777 | /* PWPASSWD: |
1778 | * This symbol, if defined, indicates to the C program that struct passwd |
1779 | * contains pw_passwd. |
1780 | */ |
be44fb0e |
1781 | /*#define I_PWD /**/ |
1782 | /*#define PWQUOTA /**/ |
1783 | /*#define PWAGE /**/ |
1784 | /*#define PWCHANGE /**/ |
1785 | /*#define PWCLASS /**/ |
1786 | /*#define PWEXPIRE /**/ |
1787 | /*#define PWCOMMENT /**/ |
1788 | /*#define PWGECOS /**/ |
28e8609d |
1789 | /*#define PWPASSWD /**/ |
bdaec6b3 |
1790 | |
9036c72f |
1791 | /* Free_t: |
1792 | * This variable contains the return type of free(). It is usually |
1793 | * void, but occasionally int. |
08aa1457 |
1794 | */ |
9036c72f |
1795 | /* Malloc_t: |
1796 | * This symbol is the type of pointer returned by malloc and realloc. |
1797 | */ |
1798 | #define Malloc_t void * /**/ |
1799 | #define Free_t void /**/ |
1800 | |
1801 | /* MYMALLOC: |
1802 | * This symbol, if defined, indicates that we're using our own malloc. |
08aa1457 |
1803 | */ |
9036c72f |
1804 | /*#define MYMALLOC /**/ |
08aa1457 |
1805 | |
be44fb0e |
1806 | /* SIG_NAME: |
1807 | * This symbol contains a list of signal names in order of |
1808 | * signal number. This is intended |
1809 | * to be used as a static array initialization, like this: |
1810 | * char *sig_name[] = { SIG_NAME }; |
1811 | * The signals in the list are separated with commas, and each signal |
1812 | * is surrounded by double quotes. There is no leading SIG in the signal |
1813 | * name, i.e. SIGQUIT is known as "QUIT". |
1814 | * Gaps in the signal numbers (up to NSIG) are filled in with NUMnn, |
1815 | * etc., where nn is the actual signal number (e.g. NUM37). |
1816 | * The signal number for sig_name[i] is stored in sig_num[i]. |
1817 | * The last element is 0 to terminate the list with a NULL. This |
1818 | * corresponds to the 0 at the end of the sig_num list. |
1819 | */ |
1820 | /* SIG_NUM: |
1821 | * This symbol contains a list of signal numbers, in the same order as the |
1822 | * SIG_NAME list. It is suitable for static array initialization, as in: |
1823 | * int sig_num[] = { SIG_NUM }; |
1824 | * The signals in the list are separated with commas, and the indices |
1825 | * within that list and the SIG_NAME list match, so it's easy to compute |
1826 | * the signal name from a number or vice versa at the price of a small |
1827 | * dynamic linear lookup. |
1828 | * Duplicates are allowed, but are moved to the end of the list. |
1829 | * The signal number corresponding to sig_name[i] is sig_number[i]. |
1830 | * if (i < NSIG) then sig_number[i] == i. |
1831 | * The last element is 0, corresponding to the 0 at the end of |
1832 | * the sig_name list. |
1833 | */ |
46124e9e |
1834 | #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "USR1", "USR2", "CHLD", "NUM19", "USR3", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ |
1835 | #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, 18, 0 /**/ |
be44fb0e |
1836 | |
9036c72f |
1837 | /* VOIDFLAGS: |
1838 | * This symbol indicates how much support of the void type is given by this |
1839 | * compiler. What various bits mean: |
1840 | * |
1841 | * 1 = supports declaration of void |
1842 | * 2 = supports arrays of pointers to functions returning void |
1843 | * 4 = supports comparisons between pointers to void functions and |
1844 | * addresses of void functions |
1845 | * 8 = suports declaration of generic void pointers |
1846 | * |
1847 | * The package designer should define VOIDUSED to indicate the requirements |
1848 | * of the package. This can be done either by #defining VOIDUSED before |
1849 | * including config.h, or by defining defvoidused in Myinit.U. If the |
1850 | * latter approach is taken, only those flags will be tested. If the |
1851 | * level of void support necessary is not present, defines void to int. |
08aa1457 |
1852 | */ |
9036c72f |
1853 | #ifndef VOIDUSED |
1854 | #define VOIDUSED 15 |
1855 | #endif |
1856 | #define VOIDFLAGS 15 |
1857 | #if (VOIDFLAGS & VOIDUSED) != VOIDUSED |
1858 | #define void int /* is void to be avoided? */ |
1859 | #define M_VOID /* Xenix strikes again */ |
1860 | #endif |
08aa1457 |
1861 | |
9036c72f |
1862 | /* ARCHLIB: |
1863 | * This variable, if defined, holds the name of the directory in |
1864 | * which the user wants to put architecture-dependent public |
1865 | * library files for perl5. It is most often a local directory |
1866 | * such as /usr/local/lib. Programs using this variable must be |
1867 | * prepared to deal with filename expansion. If ARCHLIB is the |
1868 | * same as PRIVLIB, it is not defined, since presumably the |
1869 | * program already searches PRIVLIB. |
08aa1457 |
1870 | */ |
9036c72f |
1871 | /* ARCHLIB_EXP: |
1872 | * This symbol contains the ~name expanded version of ARCHLIB, to be used |
08aa1457 |
1873 | * in programs that are not prepared to deal with ~ expansion at run-time. |
1874 | */ |
46124e9e |
1875 | #define ARCHLIB "c:\\perl\\5.00552\\lib\\MSWin32-x86" /**/ |
9036c72f |
1876 | /*#define ARCHLIB_EXP "" /**/ |
08aa1457 |
1877 | |
924b3ec4 |
1878 | /* DLSYM_NEEDS_UNDERSCORE: |
1879 | * This symbol, if defined, indicates that we need to prepend an |
1880 | * underscore to the symbol name before calling dlsym(). This only |
1881 | * makes sense if you *have* dlsym, which we will presume is the |
1882 | * case if you're using dl_dlopen.xs. |
1883 | */ |
1884 | /*#define DLSYM_NEEDS_UNDERSCORE /**/ |
1885 | |
327c3667 |
1886 | /* HAS_FSEEKO: |
1887 | * This symbol, if defined, indicates that the fseeko routine is |
1888 | * available to fseek beyond 32 bits (useful for ILP32 hosts). |
1889 | */ |
1890 | /*#define HAS_FSEEKO /**/ |
1891 | |
1892 | /* HAS_FTELLO: |
1893 | * This symbol, if defined, indicates that the ftello routine is |
1894 | * available to ftell from beyond 32 bits (useful for ILP32 hosts). |
1895 | */ |
1896 | /*#define HAS_FTELLO /**/ |
1897 | |
924b3ec4 |
1898 | /* USE_SFIO: |
1899 | * This symbol, if defined, indicates that sfio should |
1900 | * be used. |
1901 | */ |
1902 | /*#define USE_SFIO /**/ |
1903 | |
327c3667 |
1904 | /* HAS_DBMINIT64: |
1905 | * This symbol, if defined, indicates that the dbminit64 routine is |
1906 | * available to open dbm files larger than 2 gigabytes. |
1907 | */ |
1908 | /* HAS_DBMCLOSE64: |
1909 | * This symbol, if defined, indicates that the dbmclose64 routine is |
1910 | * available to close dbm files larger than 2 gigabytes. |
1911 | */ |
1912 | /* HAS_FETCH64: |
1913 | * This symbol, if defined, indicates that the fetch64 routine is |
1914 | * available to fetch from dbm files larger than 2 gigabytes. |
1915 | */ |
1916 | /* HAS_STORE64: |
1917 | * This symbol, if defined, indicates that the store64 routine is |
1918 | * available to store to dbm files larger than 2 gigabytes. |
1919 | */ |
1920 | /* HAS_DELETE64: |
1921 | * This symbol, if defined, indicates that the delete64 routine is |
1922 | * available to delete from dbm files larger than 2 gigabytes. |
1923 | */ |
1924 | /* HAS_FIRSTKEY64: |
1925 | * This symbol, if defined, indicates that the firstkey64 routine is |
1926 | * available to firstkey in dbm files larger than 2 gigabytes. |
1927 | */ |
1928 | /* HAS_NEXTKEY64: |
1929 | * This symbol, if defined, indicates that the nextkey64 routine is |
1930 | * available to nextkey in dbm files larger than 2 gigabytes. |
1931 | */ |
1932 | /*#define HAS_DBMINIT64 /**/ |
1933 | /*#define HAS_DBMCLOSE64 /**/ |
1934 | /*#define HAS_FETCH64 /**/ |
1935 | /*#define HAS_STORE64 /**/ |
1936 | /*#define HAS_DELETE64 /**/ |
1937 | /*#define HAS_FIRSTKEY64 /**/ |
1938 | /*#define HAS_NEXTKEY64 /**/ |
1939 | |
924b3ec4 |
1940 | /* USE_DYNAMIC_LOADING: |
1941 | * This symbol, if defined, indicates that dynamic loading of |
1942 | * some sort is available. |
1943 | */ |
1944 | #define USE_DYNAMIC_LOADING /**/ |
1945 | |
1946 | /* DB_Prefix_t: |
1947 | * This symbol contains the type of the prefix structure element |
1948 | * in the <db.h> header file. In older versions of DB, it was |
1949 | * int, while in newer ones it is u_int32_t. |
1950 | */ |
1951 | /* DB_Hash_t: |
1952 | * This symbol contains the type of the prefix structure element |
1953 | * in the <db.h> header file. In older versions of DB, it was |
1954 | * int, while in newer ones it is size_t. |
1955 | */ |
1956 | #define DB_Hash_t int /**/ |
1957 | #define DB_Prefix_t int /**/ |
1958 | |
327c3667 |
1959 | /* I_INTTYPES: |
1960 | * This symbol, if defined, indicates to the C program that it should |
1961 | * include <inttypes.h>. |
1962 | */ |
1963 | /* HAS_INT64_T: |
1964 | * This symbol will defined if the C compiler supports int64_t. |
1965 | * Usually the <inttypes.h> needs to be included, but sometimes |
1966 | * <sys/types.h> is enough. |
1967 | */ |
1968 | /*#define I_INTTYPES /**/ |
1969 | /*#define HAS_INT64_T /**/ |
1970 | |
1971 | /* HAS_FSTAT64: |
1972 | * This symbol, if defined, indicates that the fstat64 routine is |
1973 | * available to stat files (fds) larger than 2 gigabytes. |
1974 | */ |
1975 | /* HAS_FTRUNCATE64: |
1976 | * This symbol, if defined, indicates that the ftruncate64 routine is |
1977 | * available to tell files larger than 2 gigabytes. |
1978 | */ |
1979 | /* HAS_LSEEK64: |
1980 | * This symbol, if defined, indicates that the lseek64 routine is |
1981 | * available to seek files larger than 2 gigabytes. |
1982 | */ |
1983 | /* HAS_LSTAT64: |
1984 | * This symbol, if defined, indicates that the lstat64 routine is |
1985 | * available to stat files (symlinks) larger than 2 gigabytes. |
1986 | */ |
1987 | /* HAS_OPEN64: |
1988 | * This symbol, if defined, indicates that the open64 routine is |
1989 | * available to open files larger than 2 gigabytes. |
1990 | */ |
1991 | /* HAS_OPENDIR64: |
1992 | * This symbol, if defined, indicates that the opendir64 routine is |
1993 | * available to opendir files larger than 2 gigabytes. |
1994 | */ |
1995 | /* HAS_READDIR64: |
1996 | * This symbol, if defined, indicates that the readdir64 routine is |
1997 | * available to readdir files larger than 2 gigabytes. |
1998 | */ |
1999 | /* HAS_SEEKDIR64: |
2000 | * This symbol, if defined, indicates that the seekdir64 routine is |
2001 | * available to seekdir files larger than 2 gigabytes. |
2002 | */ |
2003 | /* HAS_STAT64: |
2004 | * This symbol, if defined, indicates that the fstat64 routine is |
2005 | * available to stat files larger than 2 gigabytes. |
2006 | */ |
2007 | /* HAS_TELLDIR64: |
2008 | * This symbol, if defined, indicates that the telldir64 routine is |
2009 | * available to telldir files larger than 2 gigabytes. |
2010 | */ |
2011 | /* HAS_TRUNCATE64: |
2012 | * This symbol, if defined, indicates that the truncate64 routine is |
2013 | * available to truncate files larger than 2 gigabytes. |
2014 | */ |
2015 | /* HAS_OFF64_T: |
2016 | * This symbol will be defined if the C compiler supports off64_t. |
2017 | */ |
2018 | /* HAS_STRUCT_DIRENT64: |
2019 | * This symbol will be defined if the C compiler supports struct dirent64. |
2020 | */ |
2021 | /*#define HAS_FSTAT64 /**/ |
2022 | /*#define HAS_FTRUNCATE64 /**/ |
2023 | /*#define HAS_LSEEK64 /**/ |
2024 | /*#define HAS_LSTAT64 /**/ |
2025 | /*#define HAS_OPEN64 /**/ |
2026 | /*#define HAS_OPENDIR64 /**/ |
2027 | /*#define HAS_READDIR64 /**/ |
2028 | /*#define HAS_SEEKDIR64 /**/ |
2029 | /*#define HAS_STAT64 /**/ |
2030 | /*#define HAS_TELLDIR64 /**/ |
2031 | /*#define HAS_TRUNCATE64 /**/ |
2032 | /*#define HAS_OFF64_T /**/ |
2033 | /*#define HAS_STRUCT_DIRENT64 /**/ |
2034 | |
9036c72f |
2035 | /* PRIVLIB: |
2036 | * This symbol contains the name of the private library for this package. |
2037 | * The library is private in the sense that it needn't be in anyone's |
2038 | * execution path, but it should be accessible by the world. The program |
2039 | * should be prepared to do ~ expansion. |
2040 | */ |
2041 | /* PRIVLIB_EXP: |
2042 | * This symbol contains the ~name expanded version of PRIVLIB, to be used |
2043 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2044 | */ |
46124e9e |
2045 | #define PRIVLIB "c:\\perl\\5.00552\\lib" /**/ |
2046 | #define PRIVLIB_EXP (win32_get_privlib("5.00552")) /**/ |
9036c72f |
2047 | |
327c3667 |
2048 | /* SELECT_MIN_BITS: |
2049 | * This symbol holds the minimum number of bits operated by select. |
2050 | * That is, if you do select(n, ...), how many bits at least will be |
2051 | * cleared in the masks if some activity is detected. Usually this |
2052 | * is either n or 32*ceil(n/32), especially many little-endians do |
2053 | * the latter. This is only useful if you have select(), naturally. |
2054 | */ |
2055 | #define SELECT_MIN_BITS 32 /**/ |
2056 | |
9036c72f |
2057 | /* SITEARCH: |
2058 | * This symbol contains the name of the private library for this package. |
2059 | * The library is private in the sense that it needn't be in anyone's |
2060 | * execution path, but it should be accessible by the world. The program |
2061 | * should be prepared to do ~ expansion. |
2062 | * The standard distribution will put nothing in this directory. |
2063 | * Individual sites may place their own extensions and modules in |
2064 | * this directory. |
2065 | */ |
2066 | /* SITEARCH_EXP: |
2067 | * This symbol contains the ~name expanded version of SITEARCH, to be used |
2068 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2069 | */ |
46124e9e |
2070 | #define SITEARCH "c:\\perl\\site\\5.00552\\lib\\MSWin32-x86" /**/ |
9036c72f |
2071 | /*#define SITEARCH_EXP "" /**/ |
2072 | |
2073 | /* SITELIB: |
2074 | * This symbol contains the name of the private library for this package. |
2075 | * The library is private in the sense that it needn't be in anyone's |
2076 | * execution path, but it should be accessible by the world. The program |
2077 | * should be prepared to do ~ expansion. |
2078 | * The standard distribution will put nothing in this directory. |
2079 | * Individual sites may place their own extensions and modules in |
2080 | * this directory. |
2081 | */ |
2082 | /* SITELIB_EXP: |
2083 | * This symbol contains the ~name expanded version of SITELIB, to be used |
2084 | * in programs that are not prepared to deal with ~ expansion at run-time. |
2085 | */ |
46124e9e |
2086 | #define SITELIB "c:\\perl\\site\\5.00552\\lib" /**/ |
2087 | #define SITELIB_EXP (win32_get_sitelib("5.00552")) /**/ |
9036c72f |
2088 | |
08aa1457 |
2089 | /* STARTPERL: |
2090 | * This variable contains the string to put in front of a perl |
2091 | * script to make sure (one hopes) that it runs with perl and not |
2092 | * some shell. |
2093 | */ |
161b471a |
2094 | #define STARTPERL "#!perl" /**/ |
08aa1457 |
2095 | |
327c3667 |
2096 | /* HAS_FGETPOS64: |
2097 | * This symbol, if defined, indicates that the fgetpos64 routine is |
2098 | * available to getpos files larger than 2 gigabytes. |
2099 | */ |
2100 | /* HAS_FOPEN64: |
2101 | * This symbol, if defined, indicates that the fopen64 routine is |
2102 | * available to open files larger than 2 gigabytes. |
2103 | */ |
2104 | /* HAS_FREOPEN64: |
2105 | * This symbol, if defined, indicates that the freopen64 routine is |
2106 | * available to reopen files larger than 2 gigabytes. |
2107 | */ |
2108 | /* HAS_FSEEK64: |
2109 | * This symbol, if defined, indicates that the fseek64 routine is |
2110 | * available to seek files larger than 2 gigabytes. |
2111 | */ |
2112 | /* HAS_FSEEKO64: |
2113 | * This symbol, if defined, indicates that the fseeko64 routine is |
2114 | * available to seek files larger than 2 gigabytes. |
2115 | */ |
2116 | /* HAS_FSETPOS64: |
2117 | * This symbol, if defined, indicates that the fsetpos64 routine is |
2118 | * available to setpos files larger than 2 gigabytes. |
2119 | */ |
2120 | /* HAS_FTELL64: |
2121 | * This symbol, if defined, indicates that the ftell64 routine is |
2122 | * available to tell files larger than 2 gigabytes. |
2123 | */ |
2124 | /* HAS_FTELLO64: |
2125 | * This symbol, if defined, indicates that the ftello64 routine is |
2126 | * available to tell files larger than 2 gigabytes. |
2127 | */ |
2128 | /* HAS_TMPFILE64: |
2129 | * This symbol, if defined, indicates that the tmpfile64 routine is |
2130 | * available to tmpfile files larger than 2 gigabytes. |
2131 | */ |
2132 | /*#define HAS_FGETPOS64 /**/ |
2133 | /*#define HAS_FOPEN64 /**/ |
2134 | /*#define HAS_FREOPEN64 /**/ |
2135 | /*#define HAS_FSEEK64 /**/ |
2136 | /*#define HAS_FSEEKO64 /**/ |
2137 | /*#define HAS_FSETPOS64 /**/ |
2138 | /*#define HAS_FTELL64 /**/ |
2139 | /*#define HAS_FTELLO64 /**/ |
2140 | /*#define HAS_TMPFILE64 /**/ |
2141 | |
2142 | /* USE_64_BITS: |
2143 | * This symbol, if defined, indicates that 64-bit APIs should |
2144 | * be used when available. If not defined, the native default APIs |
2145 | * will be used (be they 32 or 64 bits). |
2146 | */ |
2147 | /*#define USE_64_BITS /**/ |
2148 | |
08aa1457 |
2149 | /* USE_PERLIO: |
2150 | * This symbol, if defined, indicates that the PerlIO abstraction should |
2151 | * be used throughout. If not defined, stdio should be |
2152 | * used in a fully backward compatible manner. |
2153 | */ |
2154 | /*#define USE_PERLIO /**/ |
2155 | |
bdaec6b3 |
2156 | /* HAS_GETHOST_PROTOS: |
2157 | * This symbol, if defined, indicates that <netdb.h> includes |
2158 | * prototypes for gethostent(), gethostbyname(), and |
2159 | * gethostbyaddr(). Otherwise, it is up to the program to guess |
2160 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2161 | */ |
2162 | #define HAS_GETHOST_PROTOS /**/ |
2163 | |
2164 | /* HAS_GETNET_PROTOS: |
2165 | * This symbol, if defined, indicates that <netdb.h> includes |
2166 | * prototypes for getnetent(), getnetbyname(), and |
2167 | * getnetbyaddr(). Otherwise, it is up to the program to guess |
2168 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2169 | */ |
2170 | /*#define HAS_GETNET_PROTOS /**/ |
2171 | |
2172 | /* HAS_GETPROTO_PROTOS: |
2173 | * This symbol, if defined, indicates that <netdb.h> includes |
2174 | * prototypes for getprotoent(), getprotobyname(), and |
2175 | * getprotobyaddr(). Otherwise, it is up to the program to guess |
2176 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2177 | */ |
2178 | #define HAS_GETPROTO_PROTOS /**/ |
2179 | |
2180 | /* HAS_GETSERV_PROTOS: |
2181 | * This symbol, if defined, indicates that <netdb.h> includes |
2182 | * prototypes for getservent(), getservbyname(), and |
2183 | * getservbyaddr(). Otherwise, it is up to the program to guess |
2184 | * them. See netdbtype.U for probing for various Netdb_xxx_t types. |
2185 | */ |
2186 | #define HAS_GETSERV_PROTOS /**/ |
2187 | |
924b3ec4 |
2188 | /* Netdb_host_t: |
2189 | * This symbol holds the type used for the 1st argument |
2190 | * to gethostbyaddr(). |
08aa1457 |
2191 | */ |
924b3ec4 |
2192 | /* Netdb_hlen_t: |
2193 | * This symbol holds the type used for the 2nd argument |
2194 | * to gethostbyaddr(). |
2195 | */ |
2196 | /* Netdb_name_t: |
2197 | * This symbol holds the type used for the argument to |
2198 | * gethostbyname(). |
2199 | */ |
2200 | /* Netdb_net_t: |
2201 | * This symbol holds the type used for the 1st argument to |
2202 | * getnetbyaddr(). |
2203 | */ |
2204 | #define Netdb_host_t char * /**/ |
2205 | #define Netdb_hlen_t int /**/ |
2206 | #define Netdb_name_t char * /**/ |
2207 | #define Netdb_net_t long /**/ |
2208 | |
2209 | /* Select_fd_set_t: |
2210 | * This symbol holds the type used for the 2nd, 3rd, and 4th |
2211 | * arguments to select. Usually, this is 'fd_set *', if HAS_FD_SET |
2212 | * is defined, and 'int *' otherwise. This is only useful if you |
2213 | * have select(), of course. |
2214 | */ |
2215 | #define Select_fd_set_t Perl_fd_set * /**/ |
2216 | |
2217 | /* ARCHNAME: |
2218 | * This symbol holds a string representing the architecture name. |
2219 | * It may be used to construct an architecture-dependant pathname |
2220 | * where library files may be held under a private library, for |
2221 | * instance. |
2222 | */ |
2223 | #define ARCHNAME "MSWin32-x86" /**/ |
2224 | |
2225 | /* HAS_PTHREAD_YIELD: |
2226 | * This symbol, if defined, indicates that the pthread_yield |
2227 | * routine is available to yield the execution of the current |
2228 | * thread. |
2229 | */ |
be44fb0e |
2230 | /* HAS_SCHED_YIELD: |
2231 | * This symbol, if defined, indicates that the sched_yield |
2232 | * routine is available to yield the execution of the current |
2233 | * thread. |
2234 | */ |
924b3ec4 |
2235 | /*#define HAS_PTHREAD_YIELD /**/ |
be44fb0e |
2236 | /*#define HAS_SCHED_YIELD /**/ |
924b3ec4 |
2237 | |
2238 | /* PTHREADS_CREATED_JOINABLE: |
2239 | * This symbol, if defined, indicates that pthreads are created |
2240 | * in the joinable (aka undetached) state. |
2241 | */ |
2242 | /*#define PTHREADS_CREATED_JOINABLE /**/ |
2243 | |
2244 | /* USE_THREADS: |
2245 | * This symbol, if defined, indicates that Perl should |
2246 | * be built to use threads. |
2247 | */ |
07ba5892 |
2248 | /* OLD_PTHREADS_API: |
2249 | * This symbol, if defined, indicates that Perl should |
2250 | * be built to use the old draft POSIX threads API. |
2251 | */ |
924b3ec4 |
2252 | /*#define USE_THREADS /**/ |
07ba5892 |
2253 | /*#define OLD_PTHREADS_API /**/ |
08aa1457 |
2254 | |
bdaec6b3 |
2255 | /* Time_t: |
2256 | * This symbol holds the type returned by time(). It can be long, |
2257 | * or time_t on BSD sites (in which case <sys/types.h> should be |
2258 | * included). |
2259 | */ |
2260 | #define Time_t time_t /* Time type */ |
2261 | |
2262 | /* HAS_TIMES: |
2263 | * This symbol, if defined, indicates that the times() routine exists. |
2264 | * Note that this became obsolete on some systems (SUNOS), which now |
2265 | * use getrusage(). It may be necessary to include <sys/times.h>. |
2266 | */ |
2267 | #define HAS_TIMES /**/ |
2268 | |
2269 | /* Fpos_t: |
2270 | * This symbol holds the type used to declare file positions in libc. |
2271 | * It can be fpos_t, long, uint, etc... It may be necessary to include |
2272 | * <sys/types.h> to get any typedef'ed information. |
2273 | */ |
2274 | #define Fpos_t fpos_t /* File position type */ |
2275 | |
2276 | /* Gid_t: |
2277 | * This symbol holds the return type of getgid() and the type of |
2278 | * argument to setrgid() and related functions. Typically, |
2279 | * it is the type of group ids in the kernel. It can be int, ushort, |
2280 | * uid_t, etc... It may be necessary to include <sys/types.h> to get |
2281 | * any typedef'ed information. |
2282 | */ |
2283 | #define Gid_t gid_t /* Type for getgid(), etc... */ |
2284 | |
2285 | /* Off_t: |
2286 | * This symbol holds the type used to declare offsets in the kernel. |
2287 | * It can be int, long, off_t, etc... It may be necessary to include |
2288 | * <sys/types.h> to get any typedef'ed information. |
2289 | */ |
2290 | #define Off_t off_t /* <offset> type */ |
2291 | |
2292 | /* Mode_t: |
2293 | * This symbol holds the type used to declare file modes |
2294 | * for systems calls. It is usually mode_t, but may be |
2295 | * int or unsigned short. It may be necessary to include <sys/types.h> |
2296 | * to get any typedef'ed information. |
2297 | */ |
2298 | #define Mode_t mode_t /* file mode parameter for system calls */ |
2299 | |
2300 | /* Pid_t: |
2301 | * This symbol holds the type used to declare process ids in the kernel. |
2302 | * It can be int, uint, pid_t, etc... It may be necessary to include |
2303 | * <sys/types.h> to get any typedef'ed information. |
2304 | */ |
2305 | #define Pid_t int /* PID type */ |
2306 | |
2307 | /* Size_t: |
2308 | * This symbol holds the type used to declare length parameters |
2309 | * for string functions. It is usually size_t, but may be |
2310 | * unsigned long, int, etc. It may be necessary to include |
2311 | * <sys/types.h> to get any typedef'ed information. |
2312 | */ |
2313 | #define Size_t size_t /* length paramater for string functions */ |
2314 | |
2315 | /* Uid_t: |
2316 | * This symbol holds the type used to declare user ids in the kernel. |
2317 | * It can be int, ushort, uid_t, etc... It may be necessary to include |
2318 | * <sys/types.h> to get any typedef'ed information. |
2319 | */ |
2320 | #define Uid_t uid_t /* UID type */ |
2321 | |
08aa1457 |
2322 | #endif |
2323 | #include <win32.h> |