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