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