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