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