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