diff options
author | Vadim Konovalov <vkonovalov@lucent.com> | 2005-11-16 23:57:13 +0300 |
---|---|---|
committer | H.Merijn Brand <h.m.brand@xs4all.nl> | 2005-11-16 19:26:13 +0000 |
commit | 1829b0dc8541492d5482bacbb045b1b817fead03 (patch) | |
tree | baec8ab6f3b5783261b8d32c4d9210cd874a8ea5 /wince | |
parent | c315bfe889135a2987c1252735b745ecccd942d4 (diff) | |
download | perl-1829b0dc8541492d5482bacbb045b1b817fead03.tar.gz |
for wince
From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com>
p4raw-id: //depot/perl@26140
Diffstat (limited to 'wince')
-rw-r--r-- | wince/Makefile.ce | 7 | ||||
-rw-r--r-- | wince/config.ce | 7 | ||||
-rw-r--r-- | wince/config_H.ce | 513 | ||||
-rw-r--r-- | wince/wince.c | 4 |
4 files changed, 393 insertions, 138 deletions
diff --git a/wince/Makefile.ce b/wince/Makefile.ce index 8c9f96959c..782ebacf6f 100644 --- a/wince/Makefile.ce +++ b/wince/Makefile.ce @@ -705,7 +705,8 @@ CFG_VARS = \ "archname=$(ARCHNAME)" \ "CC=$(CC)" \ "ccflags=$(OPTIMIZE) $(DEFINES) $(BUILDOPT)" \ - "cf_by=Rainer Keuchel" \ + "cppflags=$(OPTIMIZE) $(DEFINES) $(BUILDOPT)" \ + "cf_by=vkon" \ "cf_email=$(EMAIL)" \ "d_crypt=$(D_CRYPT)" \ "d_mymalloc=$(PERL_MALLOC)" \ @@ -779,11 +780,9 @@ NOT_COMPILE_EXT = $(NOT_COMPILE_EXT) !XS/Typemap NOT_COMPILE_EXT = $(NOT_COMPILE_EXT) !XS/Typemap !endif -#!Devel/PPPort TODO - Extensions: ..\win32\buildext.pl $(PERLDEP) $(CONFIGPM) $(HPERL) -I..\lib -I..\win32 -MCross=$(CROSS_NAME) ..\win32\buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) \ - !POSIX !Devel/PPPort $(NOT_COMPILE_EXT) + !POSIX !Math/BigInt/FastCalc $(NOT_COMPILE_EXT) Extensions_clean: -if exist $(MINIPERL) $(MINIPERL) -I..\lib buildext.pl $(MAKE) $(PERLDEP) $(EXTDIR) clean diff --git a/wince/config.ce b/wince/config.ce index 5708091c6f..455dc6dec8 100644 --- a/wince/config.ce +++ b/wince/config.ce @@ -1,6 +1,6 @@ ## Configured by: ~cf_email~ ## Target system: WINCE -Author='Rainer Keuchel <coyxc@rainer-keuchel.de' +Author='' PERL_CONFIG_SH='true' CONFIGDOTSH='true' Date='$Date' @@ -381,7 +381,7 @@ d_sigsetjmp='undef' d_socket='define' d_socklen_t='undef' d_sockpair='undef' -d_sprintf_returns_strlen='undef' +d_sprintf_returns_strlen='define' d_sqrtl='undef' d_srand48_r='undef' d_srandom_r='undef' @@ -874,6 +874,7 @@ usefaststdio='undef' useithreads='~USE_ITHREADS~' uselargefiles='undef' uselongdouble='undef' +usemallocwrap='define' usemorebits='undef' usemultiplicity='undef' usemymalloc='n' @@ -918,4 +919,4 @@ PERL_API_REVISION='~PERL_API_REVISION~' PERL_API_SUBVERSION='~PERL_API_SUBVERSION~' PERL_API_VERSION='~PERL_API_VERSION~' PATCHLEVEL='~PERL_VERSION~' -SUBVERSION='~PERL_SUBVERSION~' +PERL_CONFIG_SH='true' diff --git a/wince/config_H.ce b/wince/config_H.ce index ea86309ea0..415a1fe279 100644 --- a/wince/config_H.ce +++ b/wince/config_H.ce @@ -13,8 +13,8 @@ /* * Package name : perl5 * Source directory : - * Configuration time: Sat May 11 22:30:48 2002 - * Configured by : Rainer Keuchel + * Configuration time: Thu Nov 10 20:47:18 2005 + * Configured by : vkon * Target system : */ @@ -26,30 +26,12 @@ */ #define LOC_SED "" /**/ -/* HAS_AINTL: - * This symbol, if defined, indicates that the aintl routine is - * available. If copysignl is also present we can emulate modfl. - */ -/*#define HAS_AINTL / **/ - /* HAS_ALARM: * This symbol, if defined, indicates that the alarm routine is * available. */ /*#define HAS_ALARM /**/ -/* HASATTRIBUTE: - * This symbol indicates the C compiler can check for function attributes, - * such as printf formats. This is normally only supported by GNU cc. - */ -/*#define HASATTRIBUTE /**/ -#ifndef HASATTRIBUTE -#ifdef __attribute__ -#undef __attribute__ -#endif -#define __attribute__(_arg_) -#endif - /* HAS_BCMP: * This symbol is defined if the bcmp() routine is available to * compare blocks of memory. @@ -887,47 +869,6 @@ */ /*#define I_VFORK /**/ -/* INTSIZE: - * This symbol contains the value of sizeof(int) so that the C - * preprocessor can make decisions based on it. - */ -/* LONGSIZE: - * This symbol contains the value of sizeof(long) so that the C - * preprocessor can make decisions based on it. - */ -/* SHORTSIZE: - * This symbol contains the value of sizeof(short) so that the C - * preprocessor can make decisions based on it. - */ -#define INTSIZE 4 /**/ -#define LONGSIZE 4 /**/ -#define SHORTSIZE 2 /**/ - -/* MULTIARCH: - * This symbol, if defined, signifies that the build - * process will produce some binary files that are going to be - * used in a cross-platform environment. This is the case for - * example with the NeXT "fat" binaries that contain executables - * for several CPUs. - */ -/*#define MULTIARCH /**/ - -/* HAS_QUAD: - * This symbol, if defined, tells that there's a 64-bit integer type, - * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one - * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. - */ -/*#define HAS_QUAD /**/ -#ifdef HAS_QUAD -# define Quad_t __int64 /**/ -# define Uquad_t unsigned __int64 /**/ -# define QUADKIND 5 /**/ -# define QUAD_IS_INT 1 -# define QUAD_IS_LONG 2 -# define QUAD_IS_LONG_LONG 3 -# define QUAD_IS_INT64_T 4 -#endif - /* HAS_ACCESSX: * This symbol, if defined, indicates that the accessx routine is * available to do extended access checks. @@ -965,6 +906,27 @@ #define OSNAME "MSWin32" /**/ #define OSVERS "4.0" /**/ +/* USE_CROSS_COMPILE: + * This symbol, if defined, indicates that Perl is being cross-compiled. + */ +/* PERL_TARGETARCH: + * This symbol, if defined, indicates the target architecture + * Perl has been cross-compiled to. Undefined if not a cross-compile. + */ +#ifndef USE_CROSS_COMPILE +/*#define USE_CROSS_COMPILE /**/ +#define PERL_TARGETARCH "undef" /**/ +#endif + +/* MULTIARCH: + * This symbol, if defined, signifies that the build + * process will produce some binary files that are going to be + * used in a cross-platform environment. This is the case for + * example with the NeXT "fat" binaries that contain executables + * for several CPUs. + */ +/*#define MULTIARCH /**/ + /* MEM_ALIGNBYTES: * This symbol contains the number of bytes required to align a * double, or a long double when applicable. Usual values are 2, @@ -989,7 +951,7 @@ * This symbol contains the ~name expanded version of ARCHLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define ARCHLIB "\\Storage Card\\perl-tests\\bleadperl\\lib" /**/ +#define ARCHLIB "\\Storage Card\\perl58m\\lib" /**/ /*#define ARCHLIB_EXP "" /**/ /* ARCHNAME: @@ -998,7 +960,7 @@ * where library files may be held under a private library, for * instance. */ -#define ARCHNAME "MS Pocket PC-WCE300-MIPS" /**/ +#define ARCHNAME "MS Pocket PC-WCE300-ARM" /**/ /* HAS_ATOLF: * This symbol, if defined, indicates that the atolf routine is @@ -1020,8 +982,24 @@ * This symbol is the filename expanded version of the BIN symbol, for * programs that do not want to deal with that at run-time. */ -#define BIN "\\Storage Card\\perl-tests\\bleadperl\\bin" /**/ -#define BIN_EXP "\\Storage Card\\perl-tests\\bleadperl\\bin" /**/ +#define BIN "\\Storage Card\\perl58m\\bin" /**/ +#define BIN_EXP "\\Storage Card\\perl58m\\bin" /**/ + +/* INTSIZE: + * This symbol contains the value of sizeof(int) so that the C + * preprocessor can make decisions based on it. + */ +/* LONGSIZE: + * This symbol contains the value of sizeof(long) so that the C + * preprocessor can make decisions based on it. + */ +/* SHORTSIZE: + * This symbol contains the value of sizeof(short) so that the C + * preprocessor can make decisions based on it. + */ +#define INTSIZE 4 /**/ +#define LONGSIZE 4 /**/ +#define SHORTSIZE 2 /**/ /* BYTEORDER: * This symbol holds the hexadecimal constant defined in byteorder, @@ -1067,7 +1045,7 @@ #endif /* NeXT */ /* CAT2: - * This macro catenates 2 tokens together. + * This macro concatenates 2 tokens together. */ /* STRINGIFY: * This macro surrounds its token with double quotes. @@ -1115,9 +1093,9 @@ * This symbol is intended to be used along with CPPRUN in the same manner * symbol CPPMINUS is used with CPPSTDIN. It contains either "-" or "". */ -#define CPPSTDIN " -nologo -E" +#define CPPSTDIN "clarm.exe -nologo -E" #define CPPMINUS "" -#define CPPRUN " -nologo -E" +#define CPPRUN "clarm.exe -nologo -E" #define CPPLAST "" /* HAS__FWALK: @@ -1139,6 +1117,9 @@ */ /* 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. */ /*#define HAS_ASCTIME_R /**/ #define ASCTIME_R_PROTO 0 /**/ @@ -1200,6 +1181,9 @@ */ /* 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. */ /*#define HAS_CRYPT_R /**/ #define CRYPT_R_PROTO 0 /**/ @@ -1221,6 +1205,9 @@ */ /* 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. */ /*#define HAS_CTIME_R /**/ #define CTIME_R_PROTO 0 /**/ @@ -1239,6 +1226,9 @@ */ /* 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. */ /*#define HAS_DRAND48_R /**/ #define DRAND48_R_PROTO 0 /**/ @@ -1263,6 +1253,9 @@ */ /* 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. */ /*#define HAS_ENDGRENT_R /**/ #define ENDGRENT_R_PROTO 0 /**/ @@ -1297,6 +1290,9 @@ */ /* 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. */ /*#define HAS_ENDPWENT_R /**/ #define ENDPWENT_R_PROTO 0 /**/ @@ -1307,12 +1303,6 @@ */ /*#define HAS_ENDSERVENT /**/ -/* HAS_FAST_STDIO: - * This symbol, if defined, indicates that the "fast stdio" - * is available to manipulate the stdio buffers directly. - */ -/*#define HAS_FAST_STDIO /**/ - /* HAS_FCHDIR: * This symbol, if defined, indicates that the fchdir routine is * available to change directory using a file descriptor. @@ -1444,6 +1434,12 @@ */ /*#define HAS_FTELLO /**/ +/* HAS_FUTIMES: + * This symbol, if defined, indicates that the futimes routine is + * available to change file descriptor time stamps with struct timevals. + */ +/*#define HAS_FUTIMES /**/ + /* Gconvert: * This preprocessor macro is defined to convert a floating point * number to a string without a trailing decimal point. This @@ -1491,6 +1487,9 @@ */ /* 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. */ /*#define HAS_GETGRENT_R /**/ #define GETGRENT_R_PROTO 0 /**/ @@ -1501,6 +1500,9 @@ */ /* 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. */ /*#define HAS_GETGRGID_R /**/ #define GETGRGID_R_PROTO 0 /**/ @@ -1511,6 +1513,9 @@ */ /* 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. */ /*#define HAS_GETGRNAM_R /**/ #define GETGRNAM_R_PROTO 0 /**/ @@ -1582,6 +1587,9 @@ */ /* 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. */ /*#define HAS_GETLOGIN_R /**/ #define GETLOGIN_R_PROTO 0 /**/ @@ -1686,6 +1694,9 @@ */ /* 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. */ /*#define HAS_GETPWENT_R /**/ #define GETPWENT_R_PROTO 0 /**/ @@ -1696,6 +1707,9 @@ */ /* 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. */ /*#define HAS_GETPWNAM_R /**/ #define GETPWNAM_R_PROTO 0 /**/ @@ -1706,6 +1720,9 @@ */ /* 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. */ /*#define HAS_GETPWUID_R /**/ #define GETPWUID_R_PROTO 0 /**/ @@ -1736,6 +1753,9 @@ */ /* 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. */ /*#define HAS_GETSPNAM_R /**/ #define GETSPNAM_R_PROTO 0 /**/ @@ -1757,6 +1777,9 @@ */ /* 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. */ /*#define HAS_GMTIME_R /**/ #define GMTIME_R_PROTO 0 /**/ @@ -1801,12 +1824,6 @@ #define HAS_NTOHL /**/ #define HAS_NTOHS /**/ -/* HAS_ILOGBL: - * This symbol, if defined, indicates that the ilogbl routine is - * available. If scalbnl is also present we can emulate frexpl. - */ -/*#define HAS_ILOGBL /**/ - /* HAS_INT64_T: * This symbol will defined if the C compiler supports int64_t. * Usually the <inttypes.h> needs to be included, but sometimes @@ -1865,6 +1882,9 @@ */ /* 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. */ /*#define HAS_LOCALTIME_R /**/ #define LOCALTIME_R_PROTO 0 /**/ @@ -1910,6 +1930,18 @@ */ /*#define HAS_MADVISE /**/ +/* HAS_MALLOC_SIZE: + * This symbol, if defined, indicates that the malloc_size + * routine is available for use. + */ +/*#define HAS_MALLOC_SIZE /**/ + +/* HAS_MALLOC_GOOD_SIZE: + * This symbol, if defined, indicates that the malloc_good_size + * routine is available for use. + */ +/*#define HAS_MALLOC_GOOD_SIZE /**/ + /* HAS_MEMCHR: * This symbol, if defined, indicates that the memchr routine is available * to locate characters within a C string. @@ -1953,6 +1985,11 @@ * 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). @@ -1961,6 +1998,7 @@ * release 2.2.2 is known to be okay. */ /*#define HAS_MODFL /**/ +/*#define HAS_MODFL_PROTO /**/ /*#define HAS_MODFL_POW32_BUG /**/ /* HAS_MPROTECT: @@ -2002,12 +2040,6 @@ */ /*#define OLD_PTHREAD_CREATE_JOINABLE /**/ -/* HAS_PTHREAD_ATFORK: - * This symbol, if defined, indicates that the pthread_atfork routine - * is available to setup fork handlers. - */ -/*#define HAS_PTHREAD_ATFORK / **/ - /* HAS_PTHREAD_YIELD: * This symbol, if defined, indicates that the pthread_yield * routine is available to yield the execution of the current @@ -2033,6 +2065,9 @@ */ /* 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. */ /*#define HAS_RANDOM_R /**/ #define RANDOM_R_PROTO 0 /**/ @@ -2043,6 +2078,9 @@ */ /* 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. */ /*#define HAS_READDIR_R /**/ #define READDIR_R_PROTO 0 /**/ @@ -2092,12 +2130,6 @@ */ /*#define HAS_SBRK_PROTO /**/ -/* HAS_SCALBNL: - * This symbol, if defined, indicates that the scalbnl routine is - * available. If ilogbl is also present we can emulate frexpl. - */ -/*#define HAS_SCALBNL /**/ - /* HAS_SEM: * This symbol, if defined, indicates that the entire sem*(2) library is * supported. @@ -2122,6 +2154,9 @@ */ /* 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. */ /*#define HAS_SETGRENT_R /**/ #define SETGRENT_R_PROTO 0 /**/ @@ -2187,6 +2222,9 @@ */ /* 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. */ /*#define HAS_SETPWENT_R /**/ #define SETPWENT_R_PROTO 0 /**/ @@ -2253,6 +2291,12 @@ #define Siglongjmp(buf,retval) longjmp((buf),(retval)) #endif +/* USE_SITECUSTOMIZE: + * This symbol, if defined, indicates that sitecustomize should + * be used. + */ +/*#define USE_SITECUSTOMIZE /**/ + /* HAS_SOCKET: * This symbol, if defined, indicates that the BSD socket interface is * supported. @@ -2318,6 +2362,9 @@ */ /* 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. */ /*#define HAS_SRAND48_R /**/ #define SRAND48_R_PROTO 0 /**/ @@ -2328,6 +2375,9 @@ */ /* 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. */ /*#define HAS_SRANDOM_R /**/ #define SRANDOM_R_PROTO 0 /**/ @@ -2458,6 +2508,9 @@ */ /* 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. */ /*#define HAS_STRERROR_R /**/ #define STRERROR_R_PROTO 0 /**/ @@ -2530,6 +2583,9 @@ */ /* 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. */ /*#define HAS_TMPNAM_R /**/ #define TMPNAM_R_PROTO 0 /**/ @@ -2569,6 +2625,12 @@ */ /*#define HAS_UNORDERED /**/ +/* HAS_UNSETENV: + * This symbol, if defined, indicates that the unsetenv () routine is + * available for use. + */ +/*#define HAS_UNSETENV /**/ + /* HAS_USTAT: * This symbol, if defined, indicates that the ustat system call is * available to query file system statistics by dev_t. @@ -2919,10 +2981,15 @@ * 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. + */ /*#define I_TIME /**/ /*#define I_SYS_TIME /**/ /*#define I_SYS_TIME_KERNEL /**/ /*#define HAS_TM_TM_ZONE /**/ +/*#define HAS_TM_TM_GMTOFF /**/ /* I_USTAT: * This symbol, if defined, indicates that <ustat.h> exists and @@ -2991,10 +3058,15 @@ #define Malloc_t void * /**/ #define Free_t void /**/ +/* PERL_MALLOC_WRAP: + * This symbol, if defined, indicates that we'd like malloc wrap checks. + */ +#define PERL_MALLOC_WRAP /**/ + /* MYMALLOC: * This symbol, if defined, indicates that we're using our own malloc. */ -/*#define MYMALLOC /**/ +#define MYMALLOC /**/ /* Mode_t: * This symbol holds the type used to declare file modes @@ -3073,6 +3145,22 @@ */ /*#define PERL_OTHERLIBDIRS "" /**/ +/* HAS_QUAD: + * This symbol, if defined, tells that there's a 64-bit integer type, + * Quad_t, and its unsigned counterpar, Uquad_t. QUADKIND will be one + * of QUAD_IS_INT, QUAD_IS_LONG, QUAD_IS_LONG_LONG, or QUAD_IS_INT64_T. + */ +/*#define HAS_QUAD /**/ +#ifdef HAS_QUAD +# define Quad_t __int64 /**/ +# define Uquad_t unsigned __int64 /**/ +# define QUADKIND 5 /**/ +# define QUAD_IS_INT 1 +# define QUAD_IS_LONG 2 +# define QUAD_IS_LONG_LONG 3 +# define QUAD_IS_INT64_T 4 +#endif + /* IVTYPE: * This symbol defines the C type used for Perl's IV. */ @@ -3147,6 +3235,10 @@ * This symbol contains the number of bits a variable of type NVTYPE * can preserve of a variable of type UVTYPE. */ +/* NV_ZERO_IS_ALLBITS_ZERO: + * This symbol, if defined, indicates that a variable of type NVTYPE + * stores 0.0 in memory as all bits zero. + */ #define IVTYPE long /**/ #define UVTYPE unsigned long /**/ #define I8TYPE char /**/ @@ -3175,6 +3267,20 @@ #define NVSIZE 8 /**/ #define NV_PRESERVES_UV #define NV_PRESERVES_UV_BITS undef +#undef NV_ZERO_IS_ALLBITS_ZERO +#if UVSIZE == 8 +# ifdef BYTEORDER +# if BYTEORDER == 0x1234 +# undef BYTEORDER +# define BYTEORDER 0x12345678 +# else +# if BYTEORDER == 0x4321 +# undef BYTEORDER +# define BYTEORDER 0x87654321 +# endif +# endif +# endif +#endif /* IVdf: * This symbol defines the format string used for printing a Perl IV @@ -3234,8 +3340,8 @@ * This symbol contains the ~name expanded version of PRIVLIB, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define PRIVLIB "\\Storage Card\\perl-tests\\bleadperl\\lib" /**/ -#define PRIVLIB_EXP (win32_get_privlib("5.8.0")) /**/ +#define PRIVLIB "\\Storage Card\\perl58m\\lib" /**/ +#define PRIVLIB_EXP (win32_get_privlib("5.9.3")) /**/ /* PTRSIZE: * This symbol contains the size of a pointer, so that the C preprocessor @@ -3299,7 +3405,9 @@ * etc., where nn is the actual signal number (e.g. NUM37). * The signal number for sig_name[i] is stored in sig_num[i]. * The last element is 0 to terminate the list with a NULL. This - * corresponds to the 0 at the end of the sig_num list. + * corresponds to the 0 at the end of the sig_name_init list. + * Note that this variable is initialized from the sig_name_init, + * not from sig_name (which is unused). */ /* SIG_NUM: * This symbol contains a list of signal numbers, in the same order as the @@ -3313,7 +3421,9 @@ * The signal number corresponding to sig_name[i] is sig_number[i]. * if (i < NSIG) then sig_number[i] == i. * The last element is 0, corresponding to the 0 at the end of - * the sig_name list. + * the sig_name_init list. + * Note that this variable is initialized from the sig_num_init, + * not from sig_num (which is unused). */ /* SIG_SIZE: * This variable contains the number of elements of the SIG_NAME @@ -3321,7 +3431,7 @@ */ #define SIG_NAME "ZERO", "NUM01", "INT", "QUIT", "ILL", "NUM05", "NUM06", "NUM07", "FPE", "KILL", "NUM10", "SEGV", "NUM12", "PIPE", "ALRM", "TERM", "NUM16", "NUM17", "NUM18", "NUM19", "CHLD", "BREAK", "ABRT", "STOP", "NUM24", "CONT", "CLD", 0 /**/ #define SIG_NUM 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 20, 0 /**/ -#define SIG_SIZE 0 /**/ +#define SIG_SIZE 27 /**/ /* SITEARCH: * This symbol contains the name of the private library for this package. @@ -3338,7 +3448,7 @@ * This symbol contains the ~name expanded version of SITEARCH, to be used * in programs that are not prepared to deal with ~ expansion at run-time. */ -#define SITEARCH "\\Storage Card\\perl-tests\\bleadperl\\site\\lib" /**/ +#define SITEARCH "\\Storage Card\\perl58m\\site\\lib" /**/ /*#define SITEARCH_EXP "" /**/ /* SITELIB: @@ -3361,8 +3471,8 @@ * removed. The elements in inc_version_list (inc_version_list.U) can * be tacked onto this variable to generate a list of directories to search. */ -#define SITELIB "\\Storage Card\\perl-tests\\bleadperl\\site\\lib" /**/ -#define SITELIB_EXP (win32_get_sitelib("5.8.0")) /**/ +#define SITELIB "\\Storage Card\\perl58m\\site\\lib" /**/ +#define SITELIB_EXP (win32_get_sitelib("5.9.3")) /**/ #define SITELIB_STEM "" /**/ /* Size_t_size: @@ -3467,15 +3577,6 @@ /*#define USE_64_BIT_ALL /**/ #endif -/* USE_FAST_STDIO: - * This symbol, if defined, indicates that Perl should - * be built to use 'fast stdio'. - * Defaults to define in Perls 5.8 and earlier, to undef later. - */ -#ifndef USE_FAST_STDIO -/*#define USE_FAST_STDIO / **/ -#endif - /* USE_LARGE_FILES: * This symbol, if defined, indicates that large file support * should be used when available. @@ -3514,7 +3615,7 @@ * used in a fully backward compatible manner. */ #ifndef USE_PERLIO -/*#define USE_PERLIO /**/ +#define USE_PERLIO /**/ #endif /* USE_SOCKS: @@ -3529,6 +3630,10 @@ * 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. @@ -3538,7 +3643,11 @@ * try to use the various _r versions of library functions. * This is extremely experimental. */ +/*#define USE_5005THREADS /**/ /*#define USE_ITHREADS /**/ +#if defined(USE_5005THREADS) && !defined(USE_ITHREADS) +#define USE_THREADS /* until src is revised*/ +#endif /*#define OLD_PTHREADS_API /**/ /*#define USE_REENTRANT_API /**/ @@ -3597,6 +3706,35 @@ #define M_VOID /* Xenix strikes again */ #endif +/* HASATTRIBUTE_FORMAT: + * Can we handle GCC attribute for checking printf-style formats + */ +/* HASATTRIBUTE_MALLOC: + * Can we handle GCC attribute for malloc-style functions. + */ +/* HASATTRIBUTE_NONNULL: + * Can we handle GCC attribute for nonnull function parms. + */ +/* HASATTRIBUTE_NORETURN: + * Can we handle GCC attribute for functions that do not return + */ +/* HASATTRIBUTE_PURE: + * Can we handle GCC attribute for pure functions + */ +/* HASATTRIBUTE_UNUSED: + * Can we handle GCC attribute for unused variables and arguments + */ +/* HASATTRIBUTE_WARN_UNUSED_RESULT: + * Can we handle GCC attribute for warning on unused results + */ +/*#define HASATTRIBUTE_FORMAT /**/ +/*#define HASATTRIBUTE_NORETURN /**/ +/*#define HASATTRIBUTE_MALLOC /**/ +/*#define HASATTRIBUTE_NONNULL /**/ +/*#define HASATTRIBUTE_PURE /**/ +/*#define HASATTRIBUTE_UNUSED /**/ +/*#define HASATTRIBUTE_WARN_UNUSED_RESULT /**/ + /* HAS_CRYPT: * This symbol, if defined, indicates that the crypt routine is available * to encrypt passwords and the like. @@ -3681,17 +3819,17 @@ */ #define SH_PATH "cmd /x /c" /**/ -/* USE_CROSS_COMPILE: - * This symbol, if defined, indicates that Perl is being cross-compiled. +/* HAS_AINTL: + * This symbol, if defined, indicates that the aintl routine is + * available. If copysignl is also present we can emulate modfl. */ -/* PERL_TARGETARCH: - * This symbol, if defined, indicates the target architecture - * Perl has been cross-compiled to. Undefined if not a cross-compile. +/*#define HAS_AINTL /**/ + +/* HAS_CLEARENV: + * This symbol, if defined, indicates that the clearenv () routine is + * available for use. */ -#ifndef USE_CROSS_COMPILE -/*#define USE_CROSS_COMPILE /**/ -#define PERL_TARGETARCH "undef" /**/ -#endif +/*#define HAS_CLEARENV /**/ /* HAS_COPYSIGNL: * This symbol, if defined, indicates that the copysignl routine is @@ -3713,6 +3851,12 @@ */ /*#define HAS_DIRFD /**/ +/* HAS_FAST_STDIO: + * This symbol, if defined, indicates that the "fast stdio" + * is available to manipulate the stdio buffers directly. + */ +/*#define HAS_FAST_STDIO /**/ + /* HAS_FLOCK_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the flock() function. Otherwise, it is up @@ -3739,6 +3883,18 @@ */ /*#define HAS_FPCLASSL /**/ +/* HAS_ILOGBL: + * This symbol, if defined, indicates that the ilogbl routine is + * available. If scalbnl is also present we can emulate frexpl. + */ +/*#define HAS_ILOGBL /**/ + +/* LIBM_LIB_VERSION: + * This symbol, if defined, indicates that libm exports _LIB_VERSION + * and that math.h defines the enum to manipulate it. + */ +/*#define LIBM_LIB_VERSION /**/ + /* HAS_NL_LANGINFO: * This symbol, if defined, indicates that the nl_langinfo routine is * available to return local data. You will also need <langinfo.h> @@ -3765,7 +3921,13 @@ * system call is available to set the contention scope attribute of * a thread attribute object. */ -/*#define HAS_PTHREAD_ATTR_SETSCOPE / **/ +/*#define HAS_PTHREAD_ATTR_SETSCOPE /**/ + +/* HAS_SCALBNL: + * This symbol, if defined, indicates that the scalbnl routine is + * available. If ilogbl is also present we can emulate frexpl. + */ +/*#define HAS_SCALBNL /**/ /* HAS_SIGPROCMASK: * This symbol, if defined, indicates that the sigprocmask @@ -3788,6 +3950,14 @@ */ /*#define HAS_SOCKATMARK_PROTO /**/ +/* SPRINTF_RETURNS_STRLEN: + * This variable defines whether sprintf returns the length of the string + * (as per the ANSI spec). Some C libraries retain compatibility with + * pre-ANSI C and return a pointer to the passed in buffer; for these + * this variable will be undef. + */ +#define SPRINTF_RETURNS_STRLEN /**/ + /* HAS_SETRESGID_PROTO: * This symbol, if defined, indicates that the system provides * a prototype for the setresgid() function. Otherwise, it is up @@ -3810,17 +3980,17 @@ */ /*#define HAS_STRFTIME /**/ -/* HAS_STRLCAT - * This symbol, if defined, indicates that the strlcat routine is - * available to do string concatenation. +/* HAS_STRLCAT: + * This symbol, if defined, indicates that the strlcat () routine is + * available to do string concatenation. */ -/*#define HAS_STRLCAT /**/ +/*#define HAS_STRLCAT /**/ /* HAS_STRLCPY: - * This symbol, if defined, indicates that the strlcpy routine is - * available to do string copying. + * This symbol, if defined, indicates that the strlcpy () routine is + * available to do string copying. */ -/*#define HAS_STRLCPY /**/ +/*#define HAS_STRLCPY /**/ /* HAS_SYSCALL_PROTO: * This symbol, if defined, indicates that the system provides @@ -3865,12 +4035,30 @@ */ /*#define I_LANGINFO /**/ +/* USE_FAST_STDIO: + * This symbol, if defined, indicates that Perl should + * be built to use 'fast stdio'. + * Defaults to define in Perls 5.8 and earlier, to undef later. + */ +#ifndef USE_FAST_STDIO +/*#define USE_FAST_STDIO /**/ +#endif + +/* PERL_RELOCATABLE_INC: + * This symbol, if defined, indicates that we'd like to relocate entries + * in @INC at run time based on the location of the perl binary. + */ +#define PERL_RELOCATABLE_INC "undef" /**/ + /* HAS_CTERMID_R: * This symbol, if defined, indicates that the ctermid_r routine * is available to ctermid re-entrantly. */ /* 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. */ /*#define HAS_CTERMID_R /**/ #define CTERMID_R_PROTO 0 /**/ @@ -3881,6 +4069,9 @@ */ /* 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. */ /*#define HAS_ENDHOSTENT_R /**/ #define ENDHOSTENT_R_PROTO 0 /**/ @@ -3891,6 +4082,9 @@ */ /* 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. */ /*#define HAS_ENDNETENT_R /**/ #define ENDNETENT_R_PROTO 0 /**/ @@ -3901,6 +4095,9 @@ */ /* 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. */ /*#define HAS_ENDPROTOENT_R /**/ #define ENDPROTOENT_R_PROTO 0 /**/ @@ -3911,6 +4108,9 @@ */ /* 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. */ /*#define HAS_ENDSERVENT_R /**/ #define ENDSERVENT_R_PROTO 0 /**/ @@ -3921,6 +4121,9 @@ */ /* 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. */ /*#define HAS_GETHOSTBYADDR_R /**/ #define GETHOSTBYADDR_R_PROTO 0 /**/ @@ -3931,6 +4134,9 @@ */ /* 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. */ /*#define HAS_GETHOSTBYNAME_R /**/ #define GETHOSTBYNAME_R_PROTO 0 /**/ @@ -3941,6 +4147,9 @@ */ /* 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. */ /*#define HAS_GETHOSTENT_R /**/ #define GETHOSTENT_R_PROTO 0 /**/ @@ -3951,6 +4160,9 @@ */ /* 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. */ /*#define HAS_GETNETBYADDR_R /**/ #define GETNETBYADDR_R_PROTO 0 /**/ @@ -3961,6 +4173,9 @@ */ /* 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. */ /*#define HAS_GETNETBYNAME_R /**/ #define GETNETBYNAME_R_PROTO 0 /**/ @@ -3971,6 +4186,9 @@ */ /* 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. */ /*#define HAS_GETNETENT_R /**/ #define GETNETENT_R_PROTO 0 /**/ @@ -3981,6 +4199,9 @@ */ /* 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. */ /*#define HAS_GETPROTOBYNAME_R /**/ #define GETPROTOBYNAME_R_PROTO 0 /**/ @@ -3991,6 +4212,9 @@ */ /* 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. */ /*#define HAS_GETPROTOBYNUMBER_R /**/ #define GETPROTOBYNUMBER_R_PROTO 0 /**/ @@ -4001,6 +4225,9 @@ */ /* 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. */ /*#define HAS_GETPROTOENT_R /**/ #define GETPROTOENT_R_PROTO 0 /**/ @@ -4011,6 +4238,9 @@ */ /* 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. */ /*#define HAS_GETSERVBYNAME_R /**/ #define GETSERVBYNAME_R_PROTO 0 /**/ @@ -4021,6 +4251,9 @@ */ /* 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. */ /*#define HAS_GETSERVBYPORT_R /**/ #define GETSERVBYPORT_R_PROTO 0 /**/ @@ -4031,6 +4264,9 @@ */ /* 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. */ /*#define HAS_GETSERVENT_R /**/ #define GETSERVENT_R_PROTO 0 /**/ @@ -4047,6 +4283,9 @@ */ /* 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. */ /*#define HAS_READDIR64_R /**/ #define READDIR64_R_PROTO 0 /**/ @@ -4057,6 +4296,9 @@ */ /* 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. */ /*#define HAS_SETHOSTENT_R /**/ #define SETHOSTENT_R_PROTO 0 /**/ @@ -4067,6 +4309,9 @@ */ /* 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. */ /*#define HAS_SETLOCALE_R /**/ #define SETLOCALE_R_PROTO 0 /**/ @@ -4077,6 +4322,9 @@ */ /* 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. */ /*#define HAS_SETNETENT_R /**/ #define SETNETENT_R_PROTO 0 /**/ @@ -4087,6 +4335,9 @@ */ /* 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. */ /*#define HAS_SETPROTOENT_R /**/ #define SETPROTOENT_R_PROTO 0 /**/ @@ -4097,6 +4348,9 @@ */ /* 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. */ /*#define HAS_SETSERVENT_R /**/ #define SETSERVENT_R_PROTO 0 /**/ @@ -4107,6 +4361,9 @@ */ /* 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. */ /*#define HAS_TTYNAME_R /**/ #define TTYNAME_R_PROTO 0 /**/ diff --git a/wince/wince.c b/wince/wince.c index dc92163f79..db894133a0 100644 --- a/wince/wince.c +++ b/wince/wince.c @@ -470,9 +470,7 @@ win32_times(struct tms *timebuf) Sighandler_t win32_signal(int sig, Sighandler_t subcode) { - dTHX; - Perl_croak_nocontext("signal() TBD on this platform"); - return FALSE; + return xcesignal(sig, subcode); } static void |