From e8ee3774ea4d90a4cf69272b6a6a59385df25262 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Fri, 20 Aug 1999 22:10:46 +0000 Subject: [PATCH] win32 tweaks p4raw-id: //depot/perl@4014 --- XSUB.h | 2 +- mg.c | 2 +- perl.c | 2 +- win32/config.bc | 1 + win32/config.gc | 1 + win32/config.vc | 1 + win32/config_H.bc | 209 +++++++++++++++++++----------------------------------- win32/config_H.gc | 209 +++++++++++++++++++----------------------------------- win32/config_H.vc | 209 +++++++++++++++++++----------------------------------- 9 files changed, 222 insertions(+), 414 deletions(-) diff --git a/XSUB.h b/XSUB.h index adbbd63..76b9f10 100644 --- a/XSUB.h +++ b/XSUB.h @@ -115,7 +115,7 @@ # include "objXSUB.h" #endif /* PERL_OBJECT || PERL_CAPI */ -#if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_GET_CONTEXT) +#if defined(PERL_IMPLICIT_CONTEXT) && !defined(PERL_NO_GET_CONTEXT) && !defined(PERL_CORE) # undef aTHX # undef aTHX_ # undef _aTHX diff --git a/mg.c b/mg.c index aa5dadd..bdfef19 100644 --- a/mg.c +++ b/mg.c @@ -1788,7 +1788,7 @@ Perl_magic_set(pTHX_ SV *sv, MAGIC *mg) if (PL_euid == PL_uid) /* special case $> = $< */ PerlProc_setuid(PL_euid); else { - PL_euid = rlProc_geteuid(); + PL_euid = PerlProc_geteuid(); Perl_croak(aTHX_ "seteuid() not implemented"); } #endif diff --git a/perl.c b/perl.c index 32b9e2b..4313742 100644 --- a/perl.c +++ b/perl.c @@ -62,7 +62,7 @@ perl_alloc(void) PerlInterpreter *my_perl; /* New() needs interpreter, so call malloc() instead */ - my_perl = PerlMem_malloc(sizeof(PerlInterpreter)); + my_perl = (PerlInterpreter*)PerlMem_malloc(sizeof(PerlInterpreter)); PERL_SET_INTERP(my_perl); return my_perl; } diff --git a/win32/config.bc b/win32/config.bc index e6197dd..46b7796 100644 --- a/win32/config.bc +++ b/win32/config.bc @@ -183,6 +183,7 @@ d_int64t='undef' d_iovec_s='undef' d_isascii='define' d_killpg='undef' +d_ldbl_dig='define' d_lchown='undef' d_link='undef' d_locconv='define' diff --git a/win32/config.gc b/win32/config.gc index b4495d7..a109f45 100644 --- a/win32/config.gc +++ b/win32/config.gc @@ -183,6 +183,7 @@ d_int64t='undef' d_iovec_s='undef' d_isascii='define' d_killpg='undef' +d_ldbl_dig='define' d_lchown='undef' d_link='undef' d_locconv='define' diff --git a/win32/config.vc b/win32/config.vc index 73f1687..24603d8 100644 --- a/win32/config.vc +++ b/win32/config.vc @@ -183,6 +183,7 @@ d_int64t='undef' d_iovec_s='undef' d_isascii='define' d_killpg='undef' +d_ldbl_dig='define' d_lchown='undef' d_link='undef' d_locconv='define' diff --git a/win32/config_H.bc b/win32/config_H.bc index bee55fa..80636a4 100644 --- a/win32/config_H.bc +++ b/win32/config_H.bc @@ -2125,6 +2125,26 @@ #define M_VOID /* Xenix strikes again */ #endif +/* HAS_ATOLF: + * This symbol, if defined, indicates that the atolf routine is + * available to convert strings into long doubles. + */ +/*#define HAS_ATOLF /**/ + +/* HAS_ATOLL: + * This symbol, if defined, indicates that the atoll routine is + * available to convert strings into long longs. + */ +/*#define HAS_ATOLL /**/ + +/* PERL_BINCOMPAT_5005: + * This symbol, if defined, indicates that Perl 5.006 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. + */ +/*#define PERL_BINCOMPAT_5005 /**/ + /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only @@ -2175,6 +2195,14 @@ */ /*#define HAS_HASMNTOPT /**/ +/* HAS_LDBL_DIG: + * This symbol, if defined, indicates that this system's + * or defines the symbol LDBL_DIG, which is the number + * of significant digits in a long double precision number. Unlike + * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. + */ +#define HAS_LDBL_DIG /**/ + /* HAS_MADVISE: * This symbol, if defined, indicates that the madvise system call is * available to map a file into memory. @@ -2240,42 +2268,6 @@ */ /*#define HAS_WRITEV /**/ -/* HAS_DBMINIT64: - * This symbol, if defined, indicates that the dbminit64 routine is - * available to open dbm files larger than 2 gigabytes. - */ -/* HAS_DBMCLOSE64: - * This symbol, if defined, indicates that the dbmclose64 routine is - * available to close dbm files larger than 2 gigabytes. - */ -/* HAS_FETCH64: - * This symbol, if defined, indicates that the fetch64 routine is - * available to fetch from dbm files larger than 2 gigabytes. - */ -/* HAS_STORE64: - * This symbol, if defined, indicates that the store64 routine is - * available to store to dbm files larger than 2 gigabytes. - */ -/* HAS_DELETE64: - * This symbol, if defined, indicates that the delete64 routine is - * available to delete from dbm files larger than 2 gigabytes. - */ -/* HAS_FIRSTKEY64: - * This symbol, if defined, indicates that the firstkey64 routine is - * available to firstkey in dbm files larger than 2 gigabytes. - */ -/* HAS_NEXTKEY64: - * This symbol, if defined, indicates that the nextkey64 routine is - * available to nextkey in dbm files larger than 2 gigabytes. - */ -/*#define HAS_DBMINIT64 /**/ -/*#define HAS_DBMCLOSE64 /**/ -/*#define HAS_FETCH64 /**/ -/*#define HAS_STORE64 /**/ -/*#define HAS_DELETE64 /**/ -/*#define HAS_FIRSTKEY64 /**/ -/*#define HAS_NEXTKEY64 /**/ - /* USE_DYNAMIC_LOADING: * This symbol, if defined, indicates that dynamic loading of * some sort is available. @@ -2369,69 +2361,46 @@ */ /*#define I_SYS_STATVFS /**/ -/* HAS_FSTAT64: - * This symbol, if defined, indicates that the fstat64 routine is - * available to stat files (fds) larger than 2 gigabytes. - */ -/* HAS_FTRUNCATE64: - * This symbol, if defined, indicates that the ftruncate64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_LSEEK64: - * This symbol, if defined, indicates that the lseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_LSTAT64: - * This symbol, if defined, indicates that the lstat64 routine is - * available to stat files (symlinks) larger than 2 gigabytes. - */ -/* HAS_OPEN64: - * This symbol, if defined, indicates that the open64 routine is - * available to open files larger than 2 gigabytes. +/* HAS_OFF64_T: + * This symbol will be defined if the C compiler supports off64_t. */ -/* HAS_OPENDIR64: - * This symbol, if defined, indicates that the opendir64 routine is - * available to opendir files larger than 2 gigabytes. +/* HAS_FPOS64_T: + * This symbol will be defined if the C compiler supports fpos64_t. */ -/* HAS_READDIR64: - * This symbol, if defined, indicates that the readdir64 routine is - * available to readdir files larger than 2 gigabytes. +/*#define HAS_OFF64_T /**/ +/*#define HAS_FPOS64_T /**/ + +/* PERL_PRIfldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'f') for output. */ -/* HAS_SEEKDIR64: - * This symbol, if defined, indicates that the seekdir64 routine is - * available to seekdir files larger than 2 gigabytes. +/* PERL_PRIgldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'g') for output. */ -/* HAS_STAT64: - * This symbol, if defined, indicates that the stat64 routine is - * available to stat files larger than 2 gigabytes. +/*#define PERL_PRIfldbl undef /**/ +/*#define PERL_PRIgldbl undef /**/ + +/* PERL_PRId64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit decimal numbers (format 'd') for output. */ -/* HAS_TELLDIR64: - * This symbol, if defined, indicates that the telldir64 routine is - * available to telldir files larger than 2 gigabytes. +/* PERL_PRIu64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit unsigned decimal numbers (format 'u') for output. */ -/* HAS_TRUNCATE64: - * This symbol, if defined, indicates that the truncate64 routine is - * available to truncate files larger than 2 gigabytes. +/* PERL_PRIo64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit octal numbers (format 'o') for output. */ -/* HAS_OFF64_T: - * This symbol will be defined if the C compiler supports off64_t. +/* PERL_PRIx64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit hexadecimal numbers (format 'x') for output. */ -/* HAS_STRUCT_DIRENT64: - * This symbol will be defined if the C compiler supports struct dirent64. - */ -/*#define HAS_FSTAT64 /**/ -/*#define HAS_FTRUNCATE64 /**/ -/*#define HAS_LSEEK64 /**/ -/*#define HAS_LSTAT64 /**/ -/*#define HAS_OPEN64 /**/ -/*#define HAS_OPENDIR64 /**/ -/*#define HAS_READDIR64 /**/ -/*#define HAS_SEEKDIR64 /**/ -/*#define HAS_STAT64 /**/ -/*#define HAS_TELLDIR64 /**/ -/*#define HAS_TRUNCATE64 /**/ -/*#define HAS_OFF64_T /**/ -/*#define HAS_STRUCT_DIRENT64 /**/ +/*#define PERL_PRId64 undef /**/ +/*#define PERL_PRIu64 undef /**/ +/*#define PERL_PRIo64 undef /**/ +/*#define PERL_PRIx64 undef /**/ /* SELECT_MIN_BITS: * This symbol holds the minimum number of bits operated by select. @@ -2449,52 +2418,6 @@ */ #define STARTPERL "#!perl" /**/ -/* HAS_FGETPOS64: - * This symbol, if defined, indicates that the fgetpos64 routine is - * available to getpos files larger than 2 gigabytes. - */ -/* HAS_FOPEN64: - * This symbol, if defined, indicates that the fopen64 routine is - * available to open files larger than 2 gigabytes. - */ -/* HAS_FREOPEN64: - * This symbol, if defined, indicates that the freopen64 routine is - * available to reopen files larger than 2 gigabytes. - */ -/* HAS_FSEEK64: - * This symbol, if defined, indicates that the fseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSEEKO64: - * This symbol, if defined, indicates that the fseeko64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSETPOS64: - * This symbol, if defined, indicates that the fsetpos64 routine is - * available to setpos files larger than 2 gigabytes. - */ -/* HAS_FTELL64: - * This symbol, if defined, indicates that the ftell64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_FTELLO64: - * This symbol, if defined, indicates that the ftello64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_TMPFILE64: - * This symbol, if defined, indicates that the tmpfile64 routine is - * available to tmpfile files larger than 2 gigabytes. - */ -/*#define HAS_FGETPOS64 /**/ -/*#define HAS_FOPEN64 /**/ -/*#define HAS_FREOPEN64 /**/ -/*#define HAS_FSEEK64 /**/ -/*#define HAS_FSEEKO64 /**/ -/*#define HAS_FSETPOS64 /**/ -/*#define HAS_FTELL64 /**/ -/*#define HAS_FTELLO64 /**/ -/*#define HAS_TMPFILE64 /**/ - /* HAS_STDIO_STREAM_ARRAY: * This symbol, if defined, tells that there is an array * holding the stdio streams. @@ -2506,6 +2429,12 @@ /*#define HAS_STDIO_STREAM_ARRAY /**/ #define STDIO_STREAM_ARRAY undef +/* HAS_STRTOULL: + * This symbol, if defined, indicates that the strtoull routine is + * available to convert strings into unsigned long longs. + */ +/*#define HAS_STRTOULL /**/ + /* USE_64_BITS: * This symbol, if defined, indicates that 64-bit interfaces should * be used when available. If not defined, the native default interfaces @@ -2513,6 +2442,12 @@ */ /*#define USE_64_BITS /**/ +/* USE_LONG_DOUBLE: + * This symbol, if defined, indicates that long doubles should + * be used when available. + */ +/*#define USE_LONG_DOUBLE /**/ + /* MULTIPLICITY: * This symbol, if defined, indicates that Perl should * be built to use multiplicity. diff --git a/win32/config_H.gc b/win32/config_H.gc index 040a903..e0101f1 100644 --- a/win32/config_H.gc +++ b/win32/config_H.gc @@ -2125,6 +2125,26 @@ #define M_VOID /* Xenix strikes again */ #endif +/* HAS_ATOLF: + * This symbol, if defined, indicates that the atolf routine is + * available to convert strings into long doubles. + */ +/*#define HAS_ATOLF /**/ + +/* HAS_ATOLL: + * This symbol, if defined, indicates that the atoll routine is + * available to convert strings into long longs. + */ +/*#define HAS_ATOLL /**/ + +/* PERL_BINCOMPAT_5005: + * This symbol, if defined, indicates that Perl 5.006 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. + */ +/*#define PERL_BINCOMPAT_5005 /**/ + /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only @@ -2175,6 +2195,14 @@ */ /*#define HAS_HASMNTOPT /**/ +/* HAS_LDBL_DIG: + * This symbol, if defined, indicates that this system's + * or defines the symbol LDBL_DIG, which is the number + * of significant digits in a long double precision number. Unlike + * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. + */ +#define HAS_LDBL_DIG /**/ + /* HAS_MADVISE: * This symbol, if defined, indicates that the madvise system call is * available to map a file into memory. @@ -2240,42 +2268,6 @@ */ /*#define HAS_WRITEV /**/ -/* HAS_DBMINIT64: - * This symbol, if defined, indicates that the dbminit64 routine is - * available to open dbm files larger than 2 gigabytes. - */ -/* HAS_DBMCLOSE64: - * This symbol, if defined, indicates that the dbmclose64 routine is - * available to close dbm files larger than 2 gigabytes. - */ -/* HAS_FETCH64: - * This symbol, if defined, indicates that the fetch64 routine is - * available to fetch from dbm files larger than 2 gigabytes. - */ -/* HAS_STORE64: - * This symbol, if defined, indicates that the store64 routine is - * available to store to dbm files larger than 2 gigabytes. - */ -/* HAS_DELETE64: - * This symbol, if defined, indicates that the delete64 routine is - * available to delete from dbm files larger than 2 gigabytes. - */ -/* HAS_FIRSTKEY64: - * This symbol, if defined, indicates that the firstkey64 routine is - * available to firstkey in dbm files larger than 2 gigabytes. - */ -/* HAS_NEXTKEY64: - * This symbol, if defined, indicates that the nextkey64 routine is - * available to nextkey in dbm files larger than 2 gigabytes. - */ -/*#define HAS_DBMINIT64 /**/ -/*#define HAS_DBMCLOSE64 /**/ -/*#define HAS_FETCH64 /**/ -/*#define HAS_STORE64 /**/ -/*#define HAS_DELETE64 /**/ -/*#define HAS_FIRSTKEY64 /**/ -/*#define HAS_NEXTKEY64 /**/ - /* USE_DYNAMIC_LOADING: * This symbol, if defined, indicates that dynamic loading of * some sort is available. @@ -2369,69 +2361,46 @@ */ /*#define I_SYS_STATVFS /**/ -/* HAS_FSTAT64: - * This symbol, if defined, indicates that the fstat64 routine is - * available to stat files (fds) larger than 2 gigabytes. - */ -/* HAS_FTRUNCATE64: - * This symbol, if defined, indicates that the ftruncate64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_LSEEK64: - * This symbol, if defined, indicates that the lseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_LSTAT64: - * This symbol, if defined, indicates that the lstat64 routine is - * available to stat files (symlinks) larger than 2 gigabytes. - */ -/* HAS_OPEN64: - * This symbol, if defined, indicates that the open64 routine is - * available to open files larger than 2 gigabytes. +/* HAS_OFF64_T: + * This symbol will be defined if the C compiler supports off64_t. */ -/* HAS_OPENDIR64: - * This symbol, if defined, indicates that the opendir64 routine is - * available to opendir files larger than 2 gigabytes. +/* HAS_FPOS64_T: + * This symbol will be defined if the C compiler supports fpos64_t. */ -/* HAS_READDIR64: - * This symbol, if defined, indicates that the readdir64 routine is - * available to readdir files larger than 2 gigabytes. +/*#define HAS_OFF64_T /**/ +/*#define HAS_FPOS64_T /**/ + +/* PERL_PRIfldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'f') for output. */ -/* HAS_SEEKDIR64: - * This symbol, if defined, indicates that the seekdir64 routine is - * available to seekdir files larger than 2 gigabytes. +/* PERL_PRIgldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'g') for output. */ -/* HAS_STAT64: - * This symbol, if defined, indicates that the stat64 routine is - * available to stat files larger than 2 gigabytes. +/*#define PERL_PRIfldbl undef /**/ +/*#define PERL_PRIgldbl undef /**/ + +/* PERL_PRId64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit decimal numbers (format 'd') for output. */ -/* HAS_TELLDIR64: - * This symbol, if defined, indicates that the telldir64 routine is - * available to telldir files larger than 2 gigabytes. +/* PERL_PRIu64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit unsigned decimal numbers (format 'u') for output. */ -/* HAS_TRUNCATE64: - * This symbol, if defined, indicates that the truncate64 routine is - * available to truncate files larger than 2 gigabytes. +/* PERL_PRIo64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit octal numbers (format 'o') for output. */ -/* HAS_OFF64_T: - * This symbol will be defined if the C compiler supports off64_t. +/* PERL_PRIx64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit hexadecimal numbers (format 'x') for output. */ -/* HAS_STRUCT_DIRENT64: - * This symbol will be defined if the C compiler supports struct dirent64. - */ -/*#define HAS_FSTAT64 /**/ -/*#define HAS_FTRUNCATE64 /**/ -/*#define HAS_LSEEK64 /**/ -/*#define HAS_LSTAT64 /**/ -/*#define HAS_OPEN64 /**/ -/*#define HAS_OPENDIR64 /**/ -/*#define HAS_READDIR64 /**/ -/*#define HAS_SEEKDIR64 /**/ -/*#define HAS_STAT64 /**/ -/*#define HAS_TELLDIR64 /**/ -/*#define HAS_TRUNCATE64 /**/ -/*#define HAS_OFF64_T /**/ -/*#define HAS_STRUCT_DIRENT64 /**/ +/*#define PERL_PRId64 undef /**/ +/*#define PERL_PRIu64 undef /**/ +/*#define PERL_PRIo64 undef /**/ +/*#define PERL_PRIx64 undef /**/ /* SELECT_MIN_BITS: * This symbol holds the minimum number of bits operated by select. @@ -2449,52 +2418,6 @@ */ #define STARTPERL "#!perl" /**/ -/* HAS_FGETPOS64: - * This symbol, if defined, indicates that the fgetpos64 routine is - * available to getpos files larger than 2 gigabytes. - */ -/* HAS_FOPEN64: - * This symbol, if defined, indicates that the fopen64 routine is - * available to open files larger than 2 gigabytes. - */ -/* HAS_FREOPEN64: - * This symbol, if defined, indicates that the freopen64 routine is - * available to reopen files larger than 2 gigabytes. - */ -/* HAS_FSEEK64: - * This symbol, if defined, indicates that the fseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSEEKO64: - * This symbol, if defined, indicates that the fseeko64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSETPOS64: - * This symbol, if defined, indicates that the fsetpos64 routine is - * available to setpos files larger than 2 gigabytes. - */ -/* HAS_FTELL64: - * This symbol, if defined, indicates that the ftell64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_FTELLO64: - * This symbol, if defined, indicates that the ftello64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_TMPFILE64: - * This symbol, if defined, indicates that the tmpfile64 routine is - * available to tmpfile files larger than 2 gigabytes. - */ -/*#define HAS_FGETPOS64 /**/ -/*#define HAS_FOPEN64 /**/ -/*#define HAS_FREOPEN64 /**/ -/*#define HAS_FSEEK64 /**/ -/*#define HAS_FSEEKO64 /**/ -/*#define HAS_FSETPOS64 /**/ -/*#define HAS_FTELL64 /**/ -/*#define HAS_FTELLO64 /**/ -/*#define HAS_TMPFILE64 /**/ - /* HAS_STDIO_STREAM_ARRAY: * This symbol, if defined, tells that there is an array * holding the stdio streams. @@ -2506,6 +2429,12 @@ /*#define HAS_STDIO_STREAM_ARRAY /**/ #define STDIO_STREAM_ARRAY undef +/* HAS_STRTOULL: + * This symbol, if defined, indicates that the strtoull routine is + * available to convert strings into unsigned long longs. + */ +/*#define HAS_STRTOULL /**/ + /* USE_64_BITS: * This symbol, if defined, indicates that 64-bit interfaces should * be used when available. If not defined, the native default interfaces @@ -2513,6 +2442,12 @@ */ /*#define USE_64_BITS /**/ +/* USE_LONG_DOUBLE: + * This symbol, if defined, indicates that long doubles should + * be used when available. + */ +/*#define USE_LONG_DOUBLE /**/ + /* MULTIPLICITY: * This symbol, if defined, indicates that Perl should * be built to use multiplicity. diff --git a/win32/config_H.vc b/win32/config_H.vc index d3c9b29..2c070a4 100644 --- a/win32/config_H.vc +++ b/win32/config_H.vc @@ -2125,6 +2125,26 @@ #define M_VOID /* Xenix strikes again */ #endif +/* HAS_ATOLF: + * This symbol, if defined, indicates that the atolf routine is + * available to convert strings into long doubles. + */ +/*#define HAS_ATOLF /**/ + +/* HAS_ATOLL: + * This symbol, if defined, indicates that the atoll routine is + * available to convert strings into long longs. + */ +/*#define HAS_ATOLL /**/ + +/* PERL_BINCOMPAT_5005: + * This symbol, if defined, indicates that Perl 5.006 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. + */ +/*#define PERL_BINCOMPAT_5005 /**/ + /* DLSYM_NEEDS_UNDERSCORE: * This symbol, if defined, indicates that we need to prepend an * underscore to the symbol name before calling dlsym(). This only @@ -2175,6 +2195,14 @@ */ /*#define HAS_HASMNTOPT /**/ +/* HAS_LDBL_DIG: + * This symbol, if defined, indicates that this system's + * or defines the symbol LDBL_DIG, which is the number + * of significant digits in a long double precision number. Unlike + * for DBL_DIG, there's no good guess for LDBL_DIG if it is undefined. + */ +#define HAS_LDBL_DIG /**/ + /* HAS_MADVISE: * This symbol, if defined, indicates that the madvise system call is * available to map a file into memory. @@ -2240,42 +2268,6 @@ */ /*#define HAS_WRITEV /**/ -/* HAS_DBMINIT64: - * This symbol, if defined, indicates that the dbminit64 routine is - * available to open dbm files larger than 2 gigabytes. - */ -/* HAS_DBMCLOSE64: - * This symbol, if defined, indicates that the dbmclose64 routine is - * available to close dbm files larger than 2 gigabytes. - */ -/* HAS_FETCH64: - * This symbol, if defined, indicates that the fetch64 routine is - * available to fetch from dbm files larger than 2 gigabytes. - */ -/* HAS_STORE64: - * This symbol, if defined, indicates that the store64 routine is - * available to store to dbm files larger than 2 gigabytes. - */ -/* HAS_DELETE64: - * This symbol, if defined, indicates that the delete64 routine is - * available to delete from dbm files larger than 2 gigabytes. - */ -/* HAS_FIRSTKEY64: - * This symbol, if defined, indicates that the firstkey64 routine is - * available to firstkey in dbm files larger than 2 gigabytes. - */ -/* HAS_NEXTKEY64: - * This symbol, if defined, indicates that the nextkey64 routine is - * available to nextkey in dbm files larger than 2 gigabytes. - */ -/*#define HAS_DBMINIT64 /**/ -/*#define HAS_DBMCLOSE64 /**/ -/*#define HAS_FETCH64 /**/ -/*#define HAS_STORE64 /**/ -/*#define HAS_DELETE64 /**/ -/*#define HAS_FIRSTKEY64 /**/ -/*#define HAS_NEXTKEY64 /**/ - /* USE_DYNAMIC_LOADING: * This symbol, if defined, indicates that dynamic loading of * some sort is available. @@ -2369,69 +2361,46 @@ */ /*#define I_SYS_STATVFS /**/ -/* HAS_FSTAT64: - * This symbol, if defined, indicates that the fstat64 routine is - * available to stat files (fds) larger than 2 gigabytes. - */ -/* HAS_FTRUNCATE64: - * This symbol, if defined, indicates that the ftruncate64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_LSEEK64: - * This symbol, if defined, indicates that the lseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_LSTAT64: - * This symbol, if defined, indicates that the lstat64 routine is - * available to stat files (symlinks) larger than 2 gigabytes. - */ -/* HAS_OPEN64: - * This symbol, if defined, indicates that the open64 routine is - * available to open files larger than 2 gigabytes. +/* HAS_OFF64_T: + * This symbol will be defined if the C compiler supports off64_t. */ -/* HAS_OPENDIR64: - * This symbol, if defined, indicates that the opendir64 routine is - * available to opendir files larger than 2 gigabytes. +/* HAS_FPOS64_T: + * This symbol will be defined if the C compiler supports fpos64_t. */ -/* HAS_READDIR64: - * This symbol, if defined, indicates that the readdir64 routine is - * available to readdir files larger than 2 gigabytes. +/*#define HAS_OFF64_T /**/ +/*#define HAS_FPOS64_T /**/ + +/* PERL_PRIfldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'f') for output. */ -/* HAS_SEEKDIR64: - * This symbol, if defined, indicates that the seekdir64 routine is - * available to seekdir files larger than 2 gigabytes. +/* PERL_PRIgldbl: + * This symbol, if defined, contains the string used by stdio to + * format long doubles (format 'g') for output. */ -/* HAS_STAT64: - * This symbol, if defined, indicates that the stat64 routine is - * available to stat files larger than 2 gigabytes. +/*#define PERL_PRIfldbl undef /**/ +/*#define PERL_PRIgldbl undef /**/ + +/* PERL_PRId64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit decimal numbers (format 'd') for output. */ -/* HAS_TELLDIR64: - * This symbol, if defined, indicates that the telldir64 routine is - * available to telldir files larger than 2 gigabytes. +/* PERL_PRIu64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit unsigned decimal numbers (format 'u') for output. */ -/* HAS_TRUNCATE64: - * This symbol, if defined, indicates that the truncate64 routine is - * available to truncate files larger than 2 gigabytes. +/* PERL_PRIo64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit octal numbers (format 'o') for output. */ -/* HAS_OFF64_T: - * This symbol will be defined if the C compiler supports off64_t. +/* PERL_PRIx64: + * This symbol, if defined, contains the string used by stdio to + * format 64-bit hexadecimal numbers (format 'x') for output. */ -/* HAS_STRUCT_DIRENT64: - * This symbol will be defined if the C compiler supports struct dirent64. - */ -/*#define HAS_FSTAT64 /**/ -/*#define HAS_FTRUNCATE64 /**/ -/*#define HAS_LSEEK64 /**/ -/*#define HAS_LSTAT64 /**/ -/*#define HAS_OPEN64 /**/ -/*#define HAS_OPENDIR64 /**/ -/*#define HAS_READDIR64 /**/ -/*#define HAS_SEEKDIR64 /**/ -/*#define HAS_STAT64 /**/ -/*#define HAS_TELLDIR64 /**/ -/*#define HAS_TRUNCATE64 /**/ -/*#define HAS_OFF64_T /**/ -/*#define HAS_STRUCT_DIRENT64 /**/ +/*#define PERL_PRId64 undef /**/ +/*#define PERL_PRIu64 undef /**/ +/*#define PERL_PRIo64 undef /**/ +/*#define PERL_PRIx64 undef /**/ /* SELECT_MIN_BITS: * This symbol holds the minimum number of bits operated by select. @@ -2449,52 +2418,6 @@ */ #define STARTPERL "#!perl" /**/ -/* HAS_FGETPOS64: - * This symbol, if defined, indicates that the fgetpos64 routine is - * available to getpos files larger than 2 gigabytes. - */ -/* HAS_FOPEN64: - * This symbol, if defined, indicates that the fopen64 routine is - * available to open files larger than 2 gigabytes. - */ -/* HAS_FREOPEN64: - * This symbol, if defined, indicates that the freopen64 routine is - * available to reopen files larger than 2 gigabytes. - */ -/* HAS_FSEEK64: - * This symbol, if defined, indicates that the fseek64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSEEKO64: - * This symbol, if defined, indicates that the fseeko64 routine is - * available to seek files larger than 2 gigabytes. - */ -/* HAS_FSETPOS64: - * This symbol, if defined, indicates that the fsetpos64 routine is - * available to setpos files larger than 2 gigabytes. - */ -/* HAS_FTELL64: - * This symbol, if defined, indicates that the ftell64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_FTELLO64: - * This symbol, if defined, indicates that the ftello64 routine is - * available to tell files larger than 2 gigabytes. - */ -/* HAS_TMPFILE64: - * This symbol, if defined, indicates that the tmpfile64 routine is - * available to tmpfile files larger than 2 gigabytes. - */ -/*#define HAS_FGETPOS64 /**/ -/*#define HAS_FOPEN64 /**/ -/*#define HAS_FREOPEN64 /**/ -/*#define HAS_FSEEK64 /**/ -/*#define HAS_FSEEKO64 /**/ -/*#define HAS_FSETPOS64 /**/ -/*#define HAS_FTELL64 /**/ -/*#define HAS_FTELLO64 /**/ -/*#define HAS_TMPFILE64 /**/ - /* HAS_STDIO_STREAM_ARRAY: * This symbol, if defined, tells that there is an array * holding the stdio streams. @@ -2506,6 +2429,12 @@ /*#define HAS_STDIO_STREAM_ARRAY /**/ #define STDIO_STREAM_ARRAY undef +/* HAS_STRTOULL: + * This symbol, if defined, indicates that the strtoull routine is + * available to convert strings into unsigned long longs. + */ +/*#define HAS_STRTOULL /**/ + /* USE_64_BITS: * This symbol, if defined, indicates that 64-bit interfaces should * be used when available. If not defined, the native default interfaces @@ -2513,6 +2442,12 @@ */ /*#define USE_64_BITS /**/ +/* USE_LONG_DOUBLE: + * This symbol, if defined, indicates that long doubles should + * be used when available. + */ +/*#define USE_LONG_DOUBLE /**/ + /* MULTIPLICITY: * This symbol, if defined, indicates that Perl should * be built to use multiplicity. -- 2.7.4