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