--- config_H.gc.backup 2021-09-21 11:38:30.000000000 +1000 +++ config_H.gc 2023-02-25 10:08:35.913471900 +1100 @@ -9,8 +9,8 @@ /* Package name : perl5 * Source directory : - * Configuration time: Sat Sep 18 00:47:56 2021 - * Configured by : xenu + * Configuration time: Tue Oct 17 08:44:03 2017 + * Configured by : shay * Target system : */ @@ -216,11 +216,11 @@ * This symbol, if defined, indicates that the lstat routine is * available to do file stats on symbolic links. */ -#define HAS_LSTAT /**/ +/*#define HAS_LSTAT / **/ /* HAS_MBLEN: * This symbol, if defined, indicates that the mblen routine is available - * to find the number of bytes in a multibyte character. + * to find the number of bytes in a multibye character. */ #define HAS_MBLEN /**/ @@ -257,12 +257,6 @@ */ #define HAS_MKTIME /**/ -/* HAS_MSG: - * This symbol, if defined, indicates that the entire msg*(2) library is - * supported (IPC mechanism based on message queues). - */ -/*#define HAS_MSG / **/ - /* HAS_MSYNC: * This symbol, if defined, indicates that the msync system call is * available to synchronize a mapped file. @@ -342,7 +336,7 @@ * This symbol, if defined, indicates that the readlink routine is * available to read the value of a symbolic link. */ -#define HAS_READLINK /**/ +/*#define HAS_READLINK / **/ /* HAS_REGCOMP: * This symbol, if defined, indicates that the regcomp() routine is @@ -372,12 +366,6 @@ */ #define HAS_SELECT /**/ -/* HAS_SEM: - * This symbol, if defined, indicates that the entire sem*(2) library is - * supported. - */ -/*#define HAS_SEM / **/ - /* HAS_SETEGID: * This symbol, if defined, indicates that the setegid routine is available * to change the effective gid of the current program. @@ -404,6 +392,12 @@ */ /*#define HAS_SETLINEBUF / **/ +/* HAS_SETLOCALE: + * This symbol, if defined, indicates that the setlocale routine is + * available to handle locale-specific ctype implementations. + */ +#define HAS_SETLOCALE /**/ + /* HAS_SETPGID: * This symbol, if defined, indicates that the setpgid(pid, gpid) * routine is available to set process group ID. @@ -500,7 +494,7 @@ * This symbol, if defined, indicates that the symlink routine is available * to create symbolic links. */ -#define HAS_SYMLINK /**/ +/*#define HAS_SYMLINK / **/ /* HAS_SYSCALL: * This symbol, if defined, indicates that the syscall routine is @@ -606,7 +600,7 @@ * This symbol, if defined, indicates that exists and * should be included. */ -/*#define I_DBM / **/ +#define I_DBM /**/ /*#define I_RPCSVC_DBM / **/ /* I_DLFCN: @@ -624,7 +618,7 @@ * This symbol, if defined, indicates that exists and should * be included. */ -/*#define I_GDBM / **/ +#define I_GDBM /**/ /* I_LOCALE: * This symbol, if defined, indicates to the C program that it should @@ -849,7 +843,7 @@ # endif # endif #else -#define BYTEORDER 0x12345678 /* large digits for MSB */ +#define BYTEORDER 0x1234 /* large digits for MSB */ #endif /* CHARBITS: @@ -1038,18 +1032,6 @@ #define HAS_STATIC_INLINE /**/ #define PERL_STATIC_INLINE static __inline__ /**/ -/* PERL_THREAD_LOCAL: - * This symbol, if defined, gives a linkage specification for thread-local - * storage. For example, for a C11 compiler this will be _Thread_local. - * Beware, some compilers are sensitive to the C language standard they are - * told to parse. For example, suncc defaults to C11, so our probe will - * report that _Thread_local can be used. However, if the -std=c99 is later - * added to the compiler flags, then _Thread_local will become a syntax - * error. Hence it is important for these flags to be consistent between - * probing and use. - */ -/*#define PERL_THREAD_LOCAL / **/ - /* USE_STDIO_PTR: * This symbol is defined if the _ptr and _cnt fields (or similar) * of the stdio FILE structure can be used to access the stdio buffer @@ -1127,8 +1109,8 @@ #define DOUBLESIZE 8 /**/ /* I_TIME: - * This symbol is always defined, and indicates to the C program that - * it should include . + * This symbol, if defined, indicates to the C program that it should + * include . */ /* I_SYS_TIME: * This symbol, if defined, indicates to the C program that it should @@ -1185,7 +1167,7 @@ * the compiler supports (void *); otherwise it will be * sizeof(char *). */ -#define PTRSIZE 8 /**/ +#define PTRSIZE 4 /**/ /* Drand01: * This macro is to be used to generate uniformly distributed @@ -1220,7 +1202,7 @@ * to get any typedef'ed information. * We will pick a type such that sizeof(SSize_t) == sizeof(Size_t). */ -#define SSize_t long long /* signed count of bytes */ +#define SSize_t int /* signed count of bytes */ /* EBCDIC: * This symbol, if defined, indicates that this system uses @@ -1381,7 +1363,7 @@ * feature tests from Configure are generally more reliable. */ #define OSNAME "MSWin32" /**/ -#define OSVERS "10.0.19043.1237" /**/ +#define OSVERS "6.1" /**/ /* CAT2: * This macro concatenates 2 tokens together. @@ -1391,6 +1373,7 @@ */ #if 42 == 1 #define CAT2(a,b) a/**/b +#undef STRINGIFY #define STRINGIFY(a) "a" #endif #if 42 == 42 @@ -1398,6 +1381,7 @@ #define PeRl_StGiFy(a) #a #define CAT2(a,b) PeRl_CaTiFy(a,b) #define StGiFy(a) PeRl_StGiFy(a) +#undef STRINGIFY #define STRINGIFY(a) PeRl_StGiFy(a) #endif #if 42 != 1 && 42 != 42 @@ -1441,6 +1425,11 @@ */ #define HAS_ACCESS /**/ + +/* The HASATTRIBUTE_* defines are left undefined here because they vary from + * one version of GCC to another. Instead, they are defined on the basis of + * the compiler version in . + */ /* HASATTRIBUTE_FORMAT: * Can we handle GCC attribute for checking printf-style formats */ @@ -1468,10 +1457,6 @@ /* HASATTRIBUTE_WARN_UNUSED_RESULT: * Can we handle GCC attribute for warning on unused results */ -/* HASATTRIBUTE_ALWAYS_INLINE: - * Can we handle GCC attribute for functions that should always be - * inlined. - */ /*#define HASATTRIBUTE_DEPRECATED / **/ /*#define HASATTRIBUTE_FORMAT / **/ /*#define PRINTF_FORMAT_NULL_OK / **/ @@ -1481,7 +1466,6 @@ /*#define HASATTRIBUTE_PURE / **/ /*#define HASATTRIBUTE_UNUSED / **/ /*#define HASATTRIBUTE_WARN_UNUSED_RESULT / **/ -/*#define HASATTRIBUTE_ALWAYS_INLINE / **/ /* HAS_BACKTRACE: * This symbol, if defined, indicates that the backtrace() routine is @@ -1553,7 +1537,7 @@ /*#define HAS_ENDPROTOENT / **/ /* HAS_ENDPWENT: - * This symbol, if defined, indicates that the endpwent routine is + * This symbol, if defined, indicates that the getgrent routine is * available for finalizing sequential access of the passwd database. */ /*#define HAS_ENDPWENT / **/ @@ -1744,8 +1728,6 @@ * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_BE * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LE_BE * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BE_LE - * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_LITTLE_ENDIAN - * LONG_DOUBLE_IS_DOUBLEDOUBLE_128_BIT_BIG_ENDIAN * LONG_DOUBLE_IS_VAX_H_FLOAT * LONG_DOUBLE_IS_UNKNOWN_FORMAT * It is only defined if the system supports long doubles. @@ -1777,7 +1759,7 @@ #define HAS_LDEXPL /**/ #define HAS_LONG_DOUBLE /**/ #ifdef HAS_LONG_DOUBLE -#define LONG_DOUBLESIZE 16 /**/ +#define LONG_DOUBLESIZE 12 /**/ #define LONG_DOUBLEKIND 3 /**/ #define LONG_DOUBLE_IS_DOUBLE 0 #define LONG_DOUBLE_IS_IEEE_754_128_BIT_LITTLE_ENDIAN 1 @@ -1817,7 +1799,9 @@ * available to exclusively create and open a uniquely named * temporary file. */ -/*#define HAS_MKSTEMP / **/ +#if __MINGW64_VERSION_MAJOR >= 4 +#define HAS_MKSTEMP +#endif /* HAS_MMAP: * This symbol, if defined, indicates that the mmap system call is @@ -1831,6 +1815,18 @@ /*#define HAS_MMAP / **/ #define Mmap_t void * /**/ +/* HAS_MSG: + * This symbol, if defined, indicates that the entire msg*(2) library is + * supported (IPC mechanism based on message queues). + */ +/*#define HAS_MSG / **/ + +/* HAS_SEM: + * This symbol, if defined, indicates that the entire sem*(2) library is + * supported. + */ +/*#define HAS_SEM / **/ + /* HAS_SETGRENT: * This symbol, if defined, indicates that the setgrent routine is * available for initializing sequential access of the group database. @@ -1923,10 +1919,6 @@ * This symbol, if defined, indicates the availability of * struct sockaddr_in6; */ -/* HAS_SOCKADDR_STORAGE: - * This symbol, if defined, indicates the availability of - * struct sockaddr_storage; - */ /* HAS_SIN6_SCOPE_ID: * This symbol, if defined, indicates that the struct sockaddr_in6 * structure has a member called sin6_scope_id. @@ -1951,7 +1943,6 @@ /*#define HAS_SOCKETPAIR / **/ /*#define HAS_SOCKADDR_SA_LEN / **/ /*#define HAS_SOCKADDR_IN6 / **/ -#define HAS_SOCKADDR_STORAGE /**/ #define HAS_SIN6_SCOPE_ID /**/ /*#define HAS_IP_MREQ / **/ /*#define HAS_IP_MREQ_SOURCE / **/ @@ -2089,7 +2080,7 @@ * parameter information. While ANSI C prototypes are supported in C++, * K&R style function declarations will yield errors. */ -/*#define I_NDBM / **/ +#define I_NDBM /**/ /*#define I_GDBMNDBM / **/ /*#define I_GDBM_NDBM / **/ /*#define NDBM_H_USES_PROTOTYPES / **/ @@ -2278,7 +2269,7 @@ * This symbol, if defined, indicates that the atoll routine is * available to convert strings into long longs. */ -#define HAS_ATOLL /**/ +/*#define HAS_ATOLL / **/ /* HAS__FWALK: * This symbol, if defined, indicates that the _fwalk system call is @@ -2286,12 +2277,6 @@ */ /*#define HAS__FWALK / **/ -/* HAS_ACCEPT4: - * This symbol, if defined, indicates that the accept4 routine is - * available to accept socket connections. - */ -/*#define HAS_ACCEPT4 / **/ - /* HAS_ACOSH: * This symbol, if defined, indicates that the acosh routine is * available to do the inverse hyperbolic cosine function. @@ -2316,13 +2301,6 @@ */ #define HAS_ATANH /**/ -/* HAS_NON_INT_BITFIELDS: - * This symbol, if defined, indicates that the C compiler accepts, without - * error or warning, struct bitfields that are declared with sizes other - * than plain 'int'; for example 'unsigned char' is accepted. - */ -#define HAS_NON_INT_BITFIELDS /**/ - /* HAS_BUILTIN_CHOOSE_EXPR: * Can we handle GCC builtin for compile-time ternary-like expressions */ @@ -2330,24 +2308,8 @@ * Can we handle GCC builtin for telling that certain values are more * likely */ -/*#define HAS_BUILTIN_EXPECT / **/ -/*#define HAS_BUILTIN_CHOOSE_EXPR / **/ - -/* HAS_BUILTIN_ADD_OVERFLOW: - * This symbol, if defined, indicates that the compiler supports - * __builtin_add_overflow for adding integers with overflow checks. - */ -/* HAS_BUILTIN_SUB_OVERFLOW: - * This symbol, if defined, indicates that the compiler supports - * __builtin_sub_overflow for subtracting integers with overflow checks. - */ -/* HAS_BUILTIN_MUL_OVERFLOW: - * This symbol, if defined, indicates that the compiler supports - * __builtin_mul_overflow for multiplying integers with overflow checks. - */ -/*#define HAS_BUILTIN_ADD_OVERFLOW / **/ -/*#define HAS_BUILTIN_SUB_OVERFLOW / **/ -/*#define HAS_BUILTIN_MUL_OVERFLOW / **/ +#define HAS_BUILTIN_EXPECT /* we have gcc-8.3 */ +#define HAS_BUILTIN_CHOOSE_EXPR /* we have gcc-8.3 */ /* HAS_C99_VARIADIC_MACROS: * If defined, the compiler supports C99 variadic macros. @@ -2430,12 +2392,6 @@ */ /*#define DLSYM_NEEDS_UNDERSCORE / **/ -/* HAS_DUP3: - * This symbol, if defined, indicates that the dup3 routine is - * available to duplicate file descriptors. - */ -/*#define HAS_DUP3 / **/ - /* HAS_ERF: * This symbol, if defined, indicates that the erf routine is * available to do the error function. @@ -2499,19 +2455,6 @@ */ /*#define HAS_FEGETROUND / **/ -/* HAS_FFS: - * This symbol, if defined, indicates that the ffs routine is available - * to find the first bit set in its argument. If it's not available, - * roll your own. - */ -/* HAS_FFSL: - * This symbol, if defined, indicates that the ffsl routine is available - * to find the first bit set in its argument. If it's not available, - * roll your own. - */ -/*#define HAS_FFS / **/ -/*#define HAS_FFSL / **/ - /* HAS_FINITE: * This symbol, if defined, indicates that the finite routine is * available to check whether a double is finite (non-infinity non-NaN). @@ -3018,11 +2961,8 @@ /* HAS_MEMMEM: * This symbol, if defined, indicates that the memmem routine is - * available to return a pointer to the start of the first occurrence + * available to return a pointer to the start of the first occurance * of a substring in a memory area (or NULL if not found). - * In glibc, memmem is a GNU extension. The function is visible in - * libc, but the prototype is only visible if _GNU_SOURCE is #defined. - * Thus we only define this if both the prototype and symbol are found. */ /*#define HAS_MEMMEM / **/ @@ -3039,13 +2979,6 @@ */ /*#define HAS_MKDTEMP / **/ -/* HAS_MKOSTEMP: - * This symbol, if defined, indicates that the mkostemp routine is - * available to exclusively create and open a uniquely named (with a - * suffix) temporary file. - */ -/*#define HAS_MKOSTEMP / **/ - /* HAS_MKSTEMPS: * This symbol, if defined, indicates that the mkstemps routine is * available to exclusively create and open a uniquely named @@ -3064,7 +2997,7 @@ * to the program to supply one. */ #define HAS_MODFL /**/ -#define HAS_MODFL_PROTO /**/ +/*#define HAS_MODFL_PROTO / **/ /* HAS_MPROTECT: * This symbol, if defined, indicates that the mprotect system call is @@ -3084,12 +3017,6 @@ */ #define HAS_NAN /**/ -/* HAS_NANOSLEEP: - * This symbol, if defined, indicates that the nanosleep - * system call is available to sleep with 1E-9 sec accuracy. - */ -/*#define HAS_NANOSLEEP / **/ - /* HAS_NEARBYINT: * This symbol, if defined, indicates that the nearbyint routine is * available to return the integral value closest to (according to @@ -3110,28 +3037,18 @@ * This symbol, if defined, indicates that the uselocale routine is * available to set the current locale for the calling thread. */ -/* HAS_DUPLOCALE: - * This symbol, if defined, indicates that the duplocale routine is - * available to duplicate a locale object. - */ /* HAS_QUERYLOCALE: * This symbol, if defined, indicates that the querylocale routine is * available to return the name of the locale for a category mask. */ /* I_XLOCALE: - * This symbol, if defined, indicates to the C program that the - * header xlocale.h is available. See also NEED_XLOCALE_H - */ -/* NEED_XLOCALE_H: - * This symbol, if defined, indicates that the C program should - * include to get newlocale() and its friends. + * This symbol, if defined, indicates to the C program that it should + * include to get uselocale() and its friends. */ /*#define HAS_NEWLOCALE / **/ /*#define HAS_FREELOCALE / **/ /*#define HAS_USELOCALE / **/ -/*#define HAS_DUPLOCALE / **/ /*#define HAS_QUERYLOCALE / **/ -/*#define NEED_XLOCALE_H / **/ /*#define I_XLOCALE / **/ /* HAS_NEXTAFTER: @@ -3160,12 +3077,6 @@ */ /*#define HAS_OFF64_T / **/ -/* HAS_PIPE2: - * This symbol, if defined, indicates that the pipe2 routine is - * available to create an inter-process channel. - */ -/*#define HAS_PIPE2 / **/ - /* HAS_PRCTL: * This symbol, if defined, indicates that the prctl routine is * available to set process title. @@ -3277,17 +3188,6 @@ */ /*#define HAS_SETITIMER / **/ -/* HAS_SETLOCALE: - * This symbol, if defined, indicates that the setlocale routine is - * available to handle locale-specific ctype implementations. - */ -/* SETLOCALE_ACCEPTS_ANY_LOCALE_NAME: - * This symbol, if defined, indicates that the setlocale routine is - * available and it accepts any input locale name as valid. - */ -#define HAS_SETLOCALE /**/ -/*#define SETLOCALE_ACCEPTS_ANY_LOCALE_NAME / **/ - /* HAS_SETPROCTITLE: * This symbol, if defined, indicates that the setproctitle routine is * available to set process title. @@ -3420,12 +3320,6 @@ */ /*#define HAS_STRLCPY / **/ -/* HAS_STRNLEN: - * This symbol, if defined, indicates that the strnlen () routine is - * available to check the length of a string up to a maximum. - */ -/*#define HAS_STRNLEN / **/ - /* HAS_STRTOLD: * This symbol, if defined, indicates that the strtold routine is * available to convert strings to long doubles. @@ -3436,7 +3330,7 @@ * This symbol, if defined, indicates that the strtoll routine is * available to convert strings to long longs. */ -#define HAS_STRTOLL /**/ +/*#define HAS_STRTOLL / **/ /* HAS_STRTOQ: * This symbol, if defined, indicates that the strtoq routine is @@ -3448,7 +3342,7 @@ * This symbol, if defined, indicates that the strtoull routine is * available to convert strings to unsigned long longs. */ -#define HAS_STRTOULL /**/ +/*#define HAS_STRTOULL / **/ /* HAS_STRTOUQ: * This symbol, if defined, indicates that the strtouq routine is @@ -3456,12 +3350,6 @@ */ /*#define HAS_STRTOUQ / **/ -/* HAS_STRXFRM_L: - * This symbol, if defined, indicates that the strxfrm_l() routine is - * available to transform strings. - */ -/*#define HAS_STRXFRM_L / **/ - /* HAS_SYSCALL_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the syscall() function. Otherwise, it is up @@ -3522,18 +3410,6 @@ */ /*#define HAS_TIMEGM / **/ -/* HAS_TOWLOWER: - * This symbol, if defined, indicates that the towlower () routine is - * available to do case conversion. - */ -/*#define HAS_TOWLOWER / **/ - -/* HAS_TOWUPPER: - * This symbol, if defined, indicates that the towupper () routine is - * available to do case conversion. - */ -/*#define HAS_TOWUPPER / **/ - /* HAS_TRUNC: * This symbol, if defined, indicates that the trunc routine is * available to round doubles towards zero. @@ -3830,17 +3706,6 @@ */ /*#define I_USTAT / **/ -/* I_WCHAR: - * This symbol, if defined, indicates to the C program that - * is available for inclusion - */ -/*#define I_WCHAR / **/ - -/* I_WCTYPE: - * This symbol, if defined, indicates that exists. - */ -/*#define I_WCTYPE / **/ - /* DOUBLEINFBYTES: * This symbol, if defined, is a comma-separated list of * hexadecimal bytes for the double precision infinity. @@ -3859,8 +3724,8 @@ */ #define DOUBLEINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf0, 0x7f /**/ #define DOUBLENANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xf8, 0x7f /**/ -#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ -#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 /**/ +#define LONGDBLINFBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0xff, 0x7f, 0x00, 0x00 /**/ +#define LONGDBLNANBYTES 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xc0, 0xff, 0xff, 0x00, 0x00 /**/ /* PERL_PRIfldbl: * This symbol, if defined, contains the string used by stdio to @@ -4081,8 +3946,8 @@ * This symbol, if defined, indicates that a variable of type NVTYPE * stores 0.0 in memory as all bits zero. */ -#define IVTYPE long long /**/ -#define UVTYPE unsigned long long /**/ +#define IVTYPE long /**/ +#define UVTYPE unsigned long /**/ #define I8TYPE char /**/ #define U8TYPE unsigned char /**/ #define I16TYPE short /**/ @@ -4094,8 +3959,8 @@ #define U64TYPE unsigned long long /**/ #endif #define NVTYPE double /**/ -#define IVSIZE 8 /**/ -#define UVSIZE 8 /**/ +#define IVSIZE 4 /**/ +#define UVSIZE 4 /**/ #define I8SIZE 1 /**/ #define U8SIZE 1 /**/ #define I16SIZE 2 /**/ @@ -4107,9 +3972,9 @@ #define U64SIZE 8 /**/ #endif #define NVSIZE 8 /**/ -#undef NV_PRESERVES_UV -#define NV_PRESERVES_UV_BITS 53 -#define NV_OVERFLOWS_INTEGERS_AT (256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0) +#define NV_PRESERVES_UV +#define NV_PRESERVES_UV_BITS 32 +#define NV_OVERFLOWS_INTEGERS_AT 256.0*256.0*256.0*256.0*256.0*256.0*2.0*2.0*2.0*2.0*2.0 #define NV_ZERO_IS_ALLBITS_ZERO #if UVSIZE == 8 # ifdef BYTEORDER @@ -4157,11 +4022,11 @@ * This symbol defines the format string used for printing a Perl NV * using %g-ish floating point format. */ -#define IVdf "I64d" /**/ -#define UVuf "I64u" /**/ -#define UVof "I64o" /**/ -#define UVxf "I64x" /**/ -#define UVXf "I64X" /**/ +#define IVdf "ld" /**/ +#define UVuf "lu" /**/ +#define UVof "lo" /**/ +#define UVxf "lx" /**/ +#define UVXf "lX" /**/ #define NVef "e" /**/ #define NVff "f" /**/ #define NVgf "g" /**/ @@ -4175,13 +4040,6 @@ */ #define SELECT_MIN_BITS 32 /**/ -/* ST_DEV_SIZE: - * This variable contains the size of struct stat's st_dev in bytes. - */ -/* ST_DEV_SIGN: - * This symbol holds the signedness of struct stat's st_dev. - * 1 for unsigned, -1 for signed. - */ /* ST_INO_SIZE: * This variable contains the size of struct stat's st_ino in bytes. */ @@ -4189,10 +4047,8 @@ * This symbol holds the signedness of struct stat's st_ino. * 1 for unsigned, -1 for signed. */ -#define ST_DEV_SIGN 1 /* st_dev sign */ -#define ST_DEV_SIZE 4 /* st_dev size */ #define ST_INO_SIGN 1 /* st_ino sign */ -#define ST_INO_SIZE 8 /* st_ino size */ +#define ST_INO_SIZE 4 /* st_ino size */ /* STARTPERL: * This variable contains the string to put in front of a perl @@ -4254,7 +4110,7 @@ * you may need at least to reboot your OS to 64-bit mode. */ #ifndef USE_64_BIT_INT -#define USE_64_BIT_INT /**/ +/*#define USE_64_BIT_INT / **/ #endif #ifndef USE_64_BIT_ALL /*#define USE_64_BIT_ALL / **/ @@ -4266,12 +4122,6 @@ */ /*#define USE_C_BACKTRACE / **/ -/* USE_STRICT_BY_DEFAULT: - * This symbol, if defined, enables additional defaults. - * At this time it only enables implicit strict by default. - */ -/*#define USE_STRICT_BY_DEFAULT / * use strict by default */ - /* USE_DTRACE: * This symbol, if defined, indicates that Perl should * be built with support for DTrace. @@ -4299,7 +4149,7 @@ * should be used when available. */ #ifndef USE_LARGE_FILES -#define USE_LARGE_FILES /**/ +/*#define USE_LARGE_FILES / **/ #endif /* USE_LONG_DOUBLE: @@ -4447,7 +4297,7 @@ * where library files may be held under a private library, for * instance. */ -#define ARCHNAME "MSWin32-x64-perlio" /**/ +#define ARCHNAME "MSWin32-x86-perlio" /**/ /* HAS_ASCTIME_R: * This symbol, if defined, indicates that the asctime_r routine @@ -4592,19 +4442,6 @@ /*#define HAS_ENDSERVENT_R / **/ #define ENDSERVENT_R_PROTO 0 /**/ -/* GETENV_PRESERVES_OTHER_THREAD: - * This symbol, if defined, indicates that the getenv system call doesn't - * zap the static buffer of getenv() in a different thread. - * - * The typical getenv() implementation will return a pointer to the proper - * position in **environ. But some may instead copy them to a static - * buffer in getenv(). If there is a per-thread instance of that buffer, - * or the return points to **environ, then a many-reader/1-writer mutex - * will work; otherwise an exclusive locking mutex is required to prevent - * races. - */ -#define GETENV_PRESERVES_OTHER_THREAD /**/ - /* HAS_GETGRENT_R: * This symbol, if defined, indicates that the getgrent_r routine * is available to getgrent re-entrantly. @@ -4878,12 +4715,6 @@ /*#define HAS_GMTIME_R / **/ #define GMTIME_R_PROTO 0 /**/ -/* HAS_LOCALECONV_L: - * This symbol, if defined, indicates that the localeconv_l routine is - * available to query certain information about a locale. - */ -/*#define HAS_LOCALECONV_L / **/ - /* HAS_LOCALTIME_R: * This symbol, if defined, indicates that the localtime_r routine * is available to localtime re-entrantly. @@ -4901,9 +4732,6 @@ #define L_R_TZSET #endif -/* L_R_TZSET: - * If localtime_r() needs tzset, it is defined in this define - */ /* LOCALTIME_R_PROTO: * This symbol encodes the prototype of localtime_r. * It is zero if d_localtime_r is undef, and one of the @@ -4913,29 +4741,6 @@ /*#define HAS_LOCALTIME_R / **/ #define LOCALTIME_R_PROTO 0 /**/ -/* HAS_MBRLEN: - * This symbol, if defined, indicates that the mbrlen routine is - * available to get the length of multi-byte character strings. - */ -/*#define HAS_MBRLEN / **/ - -/* HAS_MBRTOWC: - * This symbol, if defined, indicates that the mbrtowc routine is - * available to convert a multi-byte character into a wide character. - */ -/*#define HAS_MBRTOWC / **/ - -/* HAS_NL_LANGINFO_L: - * This symbol, when defined, indicates presence of the nl_langinfo_l() - * function - */ -/* HAS_THREAD_SAFE_NL_LANGINFO_L: - * This symbol, when defined, indicates presence of the nl_langinfo_l() - * function, and that it is thread-safe. - */ -/*#define HAS_NL_LANGINFO_L / **/ -/*#define HAS_THREAD_SAFE_NL_LANGINFO_L / **/ - /* OLD_PTHREAD_CREATE_JOINABLE: * This symbol, if defined, indicates how to create pthread * in joinable (aka undetached) state. NOTE: not defined @@ -5140,18 +4945,6 @@ /*#define HAS_STRERROR_R / **/ #define STRERROR_R_PROTO 0 /**/ -/* HAS_STRTOD_L: - * This symbol, if defined, indicates that the strtod_l routine is - * available to convert strings to long doubles. - */ -/*#define HAS_STRTOD_L / **/ - -/* HAS_STRTOLD_L: - * This symbol, if defined, indicates that the strtold_l routine is - * available to convert strings to long doubles. - */ -/*#define HAS_STRTOLD_L / **/ - /* HAS_TMPNAM_R: * This symbol, if defined, indicates that the tmpnam_r routine * is available to tmpnam re-entrantly. @@ -5178,12 +4971,6 @@ /*#define HAS_TTYNAME_R / **/ #define TTYNAME_R_PROTO 0 /**/ -/* HAS_WCRTOMB: - * This symbol, if defined, indicates that the wcrtomb routine is - * available to convert a wide character into a multi-byte character. - */ -/*#define HAS_WCRTOMB / **/ - /* I_MACH_CTHREADS: * This symbol, if defined, indicates to the C program that it should * include . @@ -5200,11 +4987,10 @@ * This symbol, if defined, indicates that Perl should be built to * use the interpreter-based threading implementation. */ -/* USE_THREADS: - * This symbol, if defined, indicates that Perl should - * be built to use threads. At present, it is a synonym for - * and USE_ITHREADS, but eventually the source ought to be - * changed to use this to mean _any_ threading implementation. +/* USE_5005THREADS: + * This symbol, if defined, indicates that Perl should be built to + * use the 5.005-based threading implementation. + * Only valid up to 5.8.x. */ /* OLD_PTHREADS_API: * This symbol, if defined, indicates that Perl should @@ -5215,8 +5001,11 @@ * try to use the various _r versions of library functions. * This is extremely experimental. */ +/*#define USE_5005THREADS / **/ /*#define USE_ITHREADS / **/ -/*#define USE_THREADS / **/ +#if defined(USE_5005THREADS) && !defined(USE_ITHREADS) +#define USE_THREADS /* until src is revised*/ +#endif /*#define OLD_PTHREADS_API / **/ /*#define USE_REENTRANT_API / **/ @@ -5281,9 +5070,9 @@ /* Off_t_size: * This symbol holds the number of bytes used by the Off_t. */ -#define Off_t long long /* type */ -#define LSEEKSIZE 8 /* size */ -#define Off_t_size 8 /* size */ +#define Off_t long /* type */ +#define LSEEKSIZE 4 /* size */ +#define Off_t_size 4 /* size */ /* Mode_t: * This symbol holds the type used to declare file modes @@ -5303,7 +5092,7 @@ /* Size_t_size: * This symbol holds the size of a Size_t in bytes. */ -#define Size_t_size 8 /**/ +#define Size_t_size 4 /**/ /* Size_t: * This symbol holds the type used to declare length parameters