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