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