2 * The following symbols are defined if your operating system supports
3 * functions by that name. All Unixes I know of support them, thus they
4 * are not checked by the configuration script, but are directly defined
9 * This symbol, if defined, indicates that the ioctl() routine is
10 * available to set I/O characteristics
12 #define HAS_IOCTL /**/
15 * This symbol, if defined, indicates that the routine utime() is
16 * available to update the access and modification times of files.
18 #define HAS_UTIME /**/
21 * This symbol, if defined, indicates that the getgrnam(),
22 * getgrgid(), and getgrent() routines are available to
25 #define HAS_GROUP /**/
28 * This symbol, if defined, indicates that the getpwnam(),
29 * getpwuid(), and getpwent() routines are available to
30 * get password entries.
32 #define HAS_PASSWD /**/
37 /* UNLINK_ALL_VERSIONS:
38 * This symbol, if defined, indicates that the program should arrange
39 * to remove all versions of a file if unlink() is called. This is
40 * probably only relevant for VMS.
42 /* #define UNLINK_ALL_VERSIONS /**/
45 * This symbol, if defined, indicates that the program is running under
46 * VMS. It is currently automatically set by cpps running under VMS,
47 * and is included here for completeness only.
51 #if !defined(NSIG) || defined(M_UNIX) || defined(M_XENIX)
56 # define SIGABRT SIGILL
59 # define SIGILL 6 /* blech */
61 #define ABORT() kill(getpid(),SIGABRT);
63 #define BIT_BUCKET "/dev/null"
64 #define PERL_SYS_INIT(c,v)
65 #define PERL_SYS_TERM()
66 #define dXSUB_SYS int dummy
69 * fwrite1() should be a routine with the same calling sequence as fwrite(),
70 * but which outputs all of the bytes requested as a single stream (unlike
71 * fwrite() itself, which on some systems outputs several distinct records
72 * if the number_of_items parameter is >1).
74 #define fwrite1 fwrite
76 #define Stat(fname,bufptr) stat((fname),(bufptr))
77 #define Fstat(fd,bufptr) fstat((fd),(bufptr))
78 #define Fflush(fp) fflush(fp)
80 #define my_getenv(var) getenv(var)