#define BIN "$bin" /**/
#define BIN_EXP "$binexp" /**/
-/* PERL_BINCOMPAT_5005:
- * This symbol, if defined, indicates that this version of Perl should be
- * binary-compatible with Perl 5.005. This is impossible for builds
- * that use features like threads and multiplicity it is always $undef
- * for those versions.
- */
-#$d_bincompat5005 PERL_BINCOMPAT_5005 /**/
-
/* BYTEORDER:
* This symbol holds the hexadecimal constant defined in byteorder,
* in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc...
*/
/* ASCTIME_R_PROTO:
* This symbol encodes the prototype of asctime_r.
+ * It is zero if d_asctime_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_asctime_r
+ * is defined.
*/
#$d_asctime_r HAS_ASCTIME_R /**/
#define ASCTIME_R_PROTO $asctime_r_proto /**/
*/
/* CRYPT_R_PROTO:
* This symbol encodes the prototype of crypt_r.
+ * It is zero if d_crypt_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_crypt_r
+ * is defined.
*/
#$d_crypt_r HAS_CRYPT_R /**/
#define CRYPT_R_PROTO $crypt_r_proto /**/
*/
/* CTIME_R_PROTO:
* This symbol encodes the prototype of ctime_r.
+ * It is zero if d_ctime_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctime_r
+ * is defined.
*/
#$d_ctime_r HAS_CTIME_R /**/
#define CTIME_R_PROTO $ctime_r_proto /**/
*/
/* DRAND48_R_PROTO:
* This symbol encodes the prototype of drand48_r.
+ * It is zero if d_drand48_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_drand48_r
+ * is defined.
*/
#$d_drand48_r HAS_DRAND48_R /**/
#define DRAND48_R_PROTO $drand48_r_proto /**/
*/
/* ENDGRENT_R_PROTO:
* This symbol encodes the prototype of endgrent_r.
+ * It is zero if d_endgrent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endgrent_r
+ * is defined.
*/
#$d_endgrent_r HAS_ENDGRENT_R /**/
#define ENDGRENT_R_PROTO $endgrent_r_proto /**/
*/
/* ENDPWENT_R_PROTO:
* This symbol encodes the prototype of endpwent_r.
+ * It is zero if d_endpwent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endpwent_r
+ * is defined.
*/
#$d_endpwent_r HAS_ENDPWENT_R /**/
#define ENDPWENT_R_PROTO $endpwent_r_proto /**/
*/
/* GETGRENT_R_PROTO:
* This symbol encodes the prototype of getgrent_r.
+ * It is zero if d_getgrent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrent_r
+ * is defined.
*/
#$d_getgrent_r HAS_GETGRENT_R /**/
#define GETGRENT_R_PROTO $getgrent_r_proto /**/
*/
/* GETGRGID_R_PROTO:
* This symbol encodes the prototype of getgrgid_r.
+ * It is zero if d_getgrgid_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrgid_r
+ * is defined.
*/
#$d_getgrgid_r HAS_GETGRGID_R /**/
#define GETGRGID_R_PROTO $getgrgid_r_proto /**/
*/
/* GETGRNAM_R_PROTO:
* This symbol encodes the prototype of getgrnam_r.
+ * It is zero if d_getgrnam_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getgrnam_r
+ * is defined.
*/
#$d_getgrnam_r HAS_GETGRNAM_R /**/
#define GETGRNAM_R_PROTO $getgrnam_r_proto /**/
*/
/* GETLOGIN_R_PROTO:
* This symbol encodes the prototype of getlogin_r.
+ * It is zero if d_getlogin_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getlogin_r
+ * is defined.
*/
#$d_getlogin_r HAS_GETLOGIN_R /**/
#define GETLOGIN_R_PROTO $getlogin_r_proto /**/
*/
/* GETPWENT_R_PROTO:
* This symbol encodes the prototype of getpwent_r.
+ * It is zero if d_getpwent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwent_r
+ * is defined.
*/
#$d_getpwent_r HAS_GETPWENT_R /**/
#define GETPWENT_R_PROTO $getpwent_r_proto /**/
*/
/* GETPWNAM_R_PROTO:
* This symbol encodes the prototype of getpwnam_r.
+ * It is zero if d_getpwnam_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwnam_r
+ * is defined.
*/
#$d_getpwnam_r HAS_GETPWNAM_R /**/
#define GETPWNAM_R_PROTO $getpwnam_r_proto /**/
*/
/* GETPWUID_R_PROTO:
* This symbol encodes the prototype of getpwuid_r.
+ * It is zero if d_getpwuid_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getpwuid_r
+ * is defined.
*/
#$d_getpwuid_r HAS_GETPWUID_R /**/
#define GETPWUID_R_PROTO $getpwuid_r_proto /**/
*/
/* GETSPNAM_R_PROTO:
* This symbol encodes the prototype of getspnam_r.
+ * It is zero if d_getspnam_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getspnam_r
+ * is defined.
*/
#$d_getspnam_r HAS_GETSPNAM_R /**/
#define GETSPNAM_R_PROTO $getspnam_r_proto /**/
*/
/* GMTIME_R_PROTO:
* This symbol encodes the prototype of gmtime_r.
+ * It is zero if d_gmtime_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gmtime_r
+ * is defined.
*/
#$d_gmtime_r HAS_GMTIME_R /**/
#define GMTIME_R_PROTO $gmtime_r_proto /**/
/* HAS_GNULIBC:
* This symbol, if defined, indicates to the C program that
- * the GNU C library is being used.
+ * the GNU C library is being used. A better check is to use
+ * the __GLIBC__ and __GLIBC_MINOR__ symbols supplied with glibc.
*/
#$d_gnulibc HAS_GNULIBC /**/
#if defined(HAS_GNULIBC) && !defined(_GNU_SOURCE)
*/
/* LOCALTIME_R_PROTO:
* This symbol encodes the prototype of localtime_r.
+ * It is zero if d_localtime_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_localtime_r
+ * is defined.
*/
#$d_localtime_r HAS_LOCALTIME_R /**/
#define LOCALTIME_R_PROTO $localtime_r_proto /**/
* available to split a long double x into a fractional part f and
* an integer part i such that |f| < 1.0 and (f + i) = x.
*/
+/* HAS_MODFL_PROTO:
+ * This symbol, if defined, indicates that the system provides
+ * a prototype for the modfl() function. Otherwise, it is up
+ * to the program to supply one.
+ */
/* HAS_MODFL_POW32_BUG:
* This symbol, if defined, indicates that the modfl routine is
* broken for long doubles >= pow(2, 32).
* release 2.2.2 is known to be okay.
*/
#$d_modfl HAS_MODFL /**/
+#$d_modflproto HAS_MODFL_PROTO /**/
#$d_modfl_pow32_bug HAS_MODFL_POW32_BUG /**/
/* HAS_MPROTECT:
*/
#$d_msghdr_s HAS_STRUCT_MSGHDR /**/
+/* HAS_NANOSLEEP:
+ * This symbol, if defined, indicates that the nanosleep
+ * system call is available to sleep with 1E-9 sec accuracy.
+ */
+#$d_nanosleep HAS_NANOSLEEP /**/
+
/* HAS_OFF64_T:
* This symbol will be defined if the C compiler supports off64_t.
*/
*/
/* RANDOM_R_PROTO:
* This symbol encodes the prototype of random_r.
+ * It is zero if d_random_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_random_r
+ * is defined.
*/
#$d_random_r HAS_RANDOM_R /**/
#define RANDOM_R_PROTO $random_r_proto /**/
*/
/* READDIR_R_PROTO:
* This symbol encodes the prototype of readdir_r.
+ * It is zero if d_readdir_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir_r
+ * is defined.
*/
#$d_readdir_r HAS_READDIR_R /**/
#define READDIR_R_PROTO $readdir_r_proto /**/
*/
/* SETGRENT_R_PROTO:
* This symbol encodes the prototype of setgrent_r.
+ * It is zero if d_setgrent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setgrent_r
+ * is defined.
*/
#$d_setgrent_r HAS_SETGRENT_R /**/
#define SETGRENT_R_PROTO $setgrent_r_proto /**/
*/
/* SETPWENT_R_PROTO:
* This symbol encodes the prototype of setpwent_r.
+ * It is zero if d_setpwent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setpwent_r
+ * is defined.
*/
#$d_setpwent_r HAS_SETPWENT_R /**/
#define SETPWENT_R_PROTO $setpwent_r_proto /**/
*/
/* SRAND48_R_PROTO:
* This symbol encodes the prototype of srand48_r.
+ * It is zero if d_srand48_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srand48_r
+ * is defined.
*/
#$d_srand48_r HAS_SRAND48_R /**/
#define SRAND48_R_PROTO $srand48_r_proto /**/
*/
/* SRANDOM_R_PROTO:
* This symbol encodes the prototype of srandom_r.
+ * It is zero if d_srandom_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_srandom_r
+ * is defined.
*/
#$d_srandom_r HAS_SRANDOM_R /**/
#define SRANDOM_R_PROTO $srandom_r_proto /**/
*/
/* STRERROR_R_PROTO:
* This symbol encodes the prototype of strerror_r.
+ * It is zero if d_strerror_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_strerror_r
+ * is defined.
*/
#$d_strerror_r HAS_STRERROR_R /**/
#define STRERROR_R_PROTO $strerror_r_proto /**/
*/
/* TMPNAM_R_PROTO:
* This symbol encodes the prototype of tmpnam_r.
+ * It is zero if d_tmpnam_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_tmpnam_r
+ * is defined.
*/
#$d_tmpnam_r HAS_TMPNAM_R /**/
#define TMPNAM_R_PROTO $tmpnam_r_proto /**/
* This symbol, if defined, indicates to the C program that
* the struct tm has a tm_zone field.
*/
+/* HAS_TM_TM_GMTOFF:
+ * This symbol, if defined, indicates to the C program that
+ * the struct tm has a tm_gmtoff field.
+ */
#$i_time I_TIME /**/
#$i_systime I_SYS_TIME /**/
#$i_systimek I_SYS_TIME_KERNEL /**/
#$d_tm_tm_zone HAS_TM_TM_ZONE /**/
+#$d_tm_tm_gmtoff HAS_TM_TM_GMTOFF /**/
/* I_USTAT:
* This symbol, if defined, indicates that <ustat.h> exists and
* This symbol, if defined, indicates that Perl should be built to
* use the interpreter-based threading implementation.
*/
-/* USE_5005THREADS:
- * This symbol, if defined, indicates that Perl should be built to
- * use the 5.005-based threading implementation.
- */
/* OLD_PTHREADS_API:
* This symbol, if defined, indicates that Perl should
* be built to use the old draft POSIX threads API.
* try to use the various _r versions of library functions.
* This is extremely experimental.
*/
-#$use5005threads USE_5005THREADS /**/
#$useithreads USE_ITHREADS /**/
-#if defined(USE_5005THREADS) && !defined(USE_ITHREADS)
-#define USE_THREADS /* until src is revised*/
-#endif
#$d_oldpthreads OLD_PTHREADS_API /**/
#$usereentrant USE_REENTRANT_API /**/
* This symbol, if defined, indicates that you must access
* character data through U32-aligned pointers.
*/
+#ifndef U32_ALIGNMENT_REQUIRED
#$d_u32align U32_ALIGNMENT_REQUIRED /**/
+#endif
/* HAS_USLEEP_PROTO:
* This symbol, if defined, indicates that the system provides
*/
/* CTERMID_R_PROTO:
* This symbol encodes the prototype of ctermid_r.
+ * It is zero if d_ctermid_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ctermid_r
+ * is defined.
*/
#$d_ctermid_r HAS_CTERMID_R /**/
#define CTERMID_R_PROTO $ctermid_r_proto /**/
*/
/* ENDHOSTENT_R_PROTO:
* This symbol encodes the prototype of endhostent_r.
+ * It is zero if d_endhostent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endhostent_r
+ * is defined.
*/
#$d_endhostent_r HAS_ENDHOSTENT_R /**/
#define ENDHOSTENT_R_PROTO $endhostent_r_proto /**/
*/
/* ENDNETENT_R_PROTO:
* This symbol encodes the prototype of endnetent_r.
+ * It is zero if d_endnetent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endnetent_r
+ * is defined.
*/
#$d_endnetent_r HAS_ENDNETENT_R /**/
#define ENDNETENT_R_PROTO $endnetent_r_proto /**/
*/
/* ENDPROTOENT_R_PROTO:
* This symbol encodes the prototype of endprotoent_r.
+ * It is zero if d_endprotoent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endprotoent_r
+ * is defined.
*/
#$d_endprotoent_r HAS_ENDPROTOENT_R /**/
#define ENDPROTOENT_R_PROTO $endprotoent_r_proto /**/
*/
/* ENDSERVENT_R_PROTO:
* This symbol encodes the prototype of endservent_r.
+ * It is zero if d_endservent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_endservent_r
+ * is defined.
*/
#$d_endservent_r HAS_ENDSERVENT_R /**/
#define ENDSERVENT_R_PROTO $endservent_r_proto /**/
*/
/* GETHOSTBYADDR_R_PROTO:
* This symbol encodes the prototype of gethostbyaddr_r.
+ * It is zero if d_gethostbyaddr_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyaddr_r
+ * is defined.
*/
#$d_gethostbyaddr_r HAS_GETHOSTBYADDR_R /**/
#define GETHOSTBYADDR_R_PROTO $gethostbyaddr_r_proto /**/
*/
/* GETHOSTBYNAME_R_PROTO:
* This symbol encodes the prototype of gethostbyname_r.
+ * It is zero if d_gethostbyname_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostbyname_r
+ * is defined.
*/
#$d_gethostbyname_r HAS_GETHOSTBYNAME_R /**/
#define GETHOSTBYNAME_R_PROTO $gethostbyname_r_proto /**/
*/
/* GETHOSTENT_R_PROTO:
* This symbol encodes the prototype of gethostent_r.
+ * It is zero if d_gethostent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_gethostent_r
+ * is defined.
*/
#$d_gethostent_r HAS_GETHOSTENT_R /**/
#define GETHOSTENT_R_PROTO $gethostent_r_proto /**/
*/
/* GETNETBYADDR_R_PROTO:
* This symbol encodes the prototype of getnetbyaddr_r.
+ * It is zero if d_getnetbyaddr_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyaddr_r
+ * is defined.
*/
#$d_getnetbyaddr_r HAS_GETNETBYADDR_R /**/
#define GETNETBYADDR_R_PROTO $getnetbyaddr_r_proto /**/
*/
/* GETNETBYNAME_R_PROTO:
* This symbol encodes the prototype of getnetbyname_r.
+ * It is zero if d_getnetbyname_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetbyname_r
+ * is defined.
*/
#$d_getnetbyname_r HAS_GETNETBYNAME_R /**/
#define GETNETBYNAME_R_PROTO $getnetbyname_r_proto /**/
*/
/* GETNETENT_R_PROTO:
* This symbol encodes the prototype of getnetent_r.
+ * It is zero if d_getnetent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getnetent_r
+ * is defined.
*/
#$d_getnetent_r HAS_GETNETENT_R /**/
#define GETNETENT_R_PROTO $getnetent_r_proto /**/
*/
/* GETPROTOBYNAME_R_PROTO:
* This symbol encodes the prototype of getprotobyname_r.
+ * It is zero if d_getprotobyname_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobyname_r
+ * is defined.
*/
#$d_getprotobyname_r HAS_GETPROTOBYNAME_R /**/
#define GETPROTOBYNAME_R_PROTO $getprotobyname_r_proto /**/
*/
/* GETPROTOBYNUMBER_R_PROTO:
* This symbol encodes the prototype of getprotobynumber_r.
+ * It is zero if d_getprotobynumber_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotobynumber_r
+ * is defined.
*/
#$d_getprotobynumber_r HAS_GETPROTOBYNUMBER_R /**/
#define GETPROTOBYNUMBER_R_PROTO $getprotobynumber_r_proto /**/
*/
/* GETPROTOENT_R_PROTO:
* This symbol encodes the prototype of getprotoent_r.
+ * It is zero if d_getprotoent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getprotoent_r
+ * is defined.
*/
#$d_getprotoent_r HAS_GETPROTOENT_R /**/
#define GETPROTOENT_R_PROTO $getprotoent_r_proto /**/
*/
/* GETSERVBYNAME_R_PROTO:
* This symbol encodes the prototype of getservbyname_r.
+ * It is zero if d_getservbyname_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyname_r
+ * is defined.
*/
#$d_getservbyname_r HAS_GETSERVBYNAME_R /**/
#define GETSERVBYNAME_R_PROTO $getservbyname_r_proto /**/
*/
/* GETSERVBYPORT_R_PROTO:
* This symbol encodes the prototype of getservbyport_r.
+ * It is zero if d_getservbyport_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservbyport_r
+ * is defined.
*/
#$d_getservbyport_r HAS_GETSERVBYPORT_R /**/
#define GETSERVBYPORT_R_PROTO $getservbyport_r_proto /**/
*/
/* GETSERVENT_R_PROTO:
* This symbol encodes the prototype of getservent_r.
+ * It is zero if d_getservent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_getservent_r
+ * is defined.
*/
#$d_getservent_r HAS_GETSERVENT_R /**/
#define GETSERVENT_R_PROTO $getservent_r_proto /**/
*/
/* READDIR64_R_PROTO:
* This symbol encodes the prototype of readdir64_r.
+ * It is zero if d_readdir64_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_readdir64_r
+ * is defined.
*/
#$d_readdir64_r HAS_READDIR64_R /**/
#define READDIR64_R_PROTO $readdir64_r_proto /**/
*/
/* SETHOSTENT_R_PROTO:
* This symbol encodes the prototype of sethostent_r.
+ * It is zero if d_sethostent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_sethostent_r
+ * is defined.
*/
#$d_sethostent_r HAS_SETHOSTENT_R /**/
#define SETHOSTENT_R_PROTO $sethostent_r_proto /**/
*/
/* SETLOCALE_R_PROTO:
* This symbol encodes the prototype of setlocale_r.
+ * It is zero if d_setlocale_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setlocale_r
+ * is defined.
*/
#$d_setlocale_r HAS_SETLOCALE_R /**/
#define SETLOCALE_R_PROTO $setlocale_r_proto /**/
*/
/* SETNETENT_R_PROTO:
* This symbol encodes the prototype of setnetent_r.
+ * It is zero if d_setnetent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setnetent_r
+ * is defined.
*/
#$d_setnetent_r HAS_SETNETENT_R /**/
#define SETNETENT_R_PROTO $setnetent_r_proto /**/
*/
/* SETPROTOENT_R_PROTO:
* This symbol encodes the prototype of setprotoent_r.
+ * It is zero if d_setprotoent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setprotoent_r
+ * is defined.
*/
#$d_setprotoent_r HAS_SETPROTOENT_R /**/
#define SETPROTOENT_R_PROTO $setprotoent_r_proto /**/
*/
/* SETSERVENT_R_PROTO:
* This symbol encodes the prototype of setservent_r.
+ * It is zero if d_setservent_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_setservent_r
+ * is defined.
*/
#$d_setservent_r HAS_SETSERVENT_R /**/
#define SETSERVENT_R_PROTO $setservent_r_proto /**/
*/
/* TTYNAME_R_PROTO:
* This symbol encodes the prototype of ttyname_r.
+ * It is zero if d_ttyname_r is undef, and one of the
+ * REENTRANT_PROTO_T_ABC macros of reentr.h if d_ttyname_r
+ * is defined.
*/
#$d_ttyname_r HAS_TTYNAME_R /**/
#define TTYNAME_R_PROTO $ttyname_r_proto /**/