3 * Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2000, 2001, 2002,
4 * 2003, 2006, 2007, by Larry Wall and others
6 * You may distribute under the terms of either the GNU General Public
7 * License or the Artistic License, as specified in the README file.
12 * The following symbols are defined if your operating system supports
13 * functions by that name. All Unixes I know of support them, thus they
14 * are not checked by the configuration script, but are directly defined
21 * This symbol, if defined, indicates that the ioctl() routine is
22 * available to set I/O characteristics
24 #define HAS_IOCTL /**/
27 * This symbol, if defined, indicates that the routine utime() is
28 * available to update the access and modification times of files.
30 #define HAS_UTIME /**/
33 * This symbol, if defined, indicates that the getgrnam() and
34 * getgrgid() routines are available to get group entries.
35 * The getgrent() has a separate definition, HAS_GETGRENT.
37 #define HAS_GROUP /**/
40 * This symbol, if defined, indicates that the getpwnam() and
41 * getpwuid() routines are available to get password entries.
42 * The getpwent() has a separate definition, HAS_GETPWENT.
44 #define HAS_PASSWD /**/
49 #endif /* !PERL_MICRO */
52 * This symbol, if defined, indicates that the program should
53 * use the routine my_binmode(FILE *fp, char iotype) to insure
54 * that a file is in "binary" mode -- that is, that no translation
55 * of bytes occurs on read or write operations.
60 * This symbol holds the type used to declare buffers for information
61 * returned by stat(). It's usually just struct stat. It may be necessary
62 * to include <sys/stat.h> and <sys/types.h> to get any typedef'ed
65 #define Stat_t struct stat
68 * This symbol is defined if this system has a stat structure declaring
71 #define USE_STAT_RDEV /**/
74 * This symbol, if defined, indicates that error messages should be
75 * should be generated in a format that allows the use of the Acme
76 * GUI/editor's autofind feature.
80 /* UNLINK_ALL_VERSIONS:
81 * This symbol, if defined, indicates that the program should arrange
82 * to remove all versions of a file if unlink() is called. This is
83 * probably only relevant for VMS.
85 /* #define UNLINK_ALL_VERSIONS / **/
88 * This symbol, if defined, indicates that the program is running under
89 * VMS. It is currently automatically set by cpps running under VMS,
90 * and is included here for completeness only.
95 * This symbol, if defined, contains a "magic" string which may be used
96 * as the first line of a Perl program designed to be executed directly
97 * by name, instead of the standard Unix #!. If ALTERNATE_SHEBANG
98 * begins with a character other then #, then Perl will only treat
99 * it as a command line if it finds the string "perl" in the first
100 * word; otherwise it's treated as the first line of code in the script.
101 * (IOW, Perl won't hand off to another interpreter via an alternate
102 * shebang sequence that might be legal Perl code.)
104 /* #define ALTERNATE_SHEBANG "#!" / **/
109 # define SIGABRT SIGILL
112 # define SIGILL 6 /* blech */
114 #define ABORT() kill(PerlProc_getpid(),SIGABRT);
117 * fwrite1() should be a routine with the same calling sequence as fwrite(),
118 * but which outputs all of the bytes requested as a single stream (unlike
119 * fwrite() itself, which on some systems outputs several distinct records
120 * if the number_of_items parameter is >1).
122 #define fwrite1 fwrite
124 #define Stat(fname,bufptr) stat((fname),(bufptr))
125 #define Fstat(fd,bufptr) fstat((fd),(bufptr))
126 #define Fflush(fp) fflush(fp)
127 #define Mkdir(path,mode) mkdir((path),(mode))
129 #ifndef PERL_SYS_INIT_BODY
130 # define PERL_SYS_INIT_BODY(c,v) \
131 MALLOC_CHECK_TAINT2(*c,*v) PERL_FPU_INIT; PERLIO_INIT; MALLOC_INIT
134 #ifndef PERL_SYS_TERM_BODY
135 # define PERL_SYS_TERM_BODY() \
136 HINTS_REFCNT_TERM; OP_REFCNT_TERM; PERLIO_TERM; MALLOC_TERM;
140 #define BIT_BUCKET "/dev/null"
144 #ifndef NO_ENVIRON_ARRAY
145 #define USE_ENVIRON_ARRAY
150 * c-indentation-style: bsd
152 * indent-tabs-mode: t
155 * ex: set ts=8 sts=4 sw=4 noet: