From: Vadim Konovalov Date: Wed, 16 Nov 2005 20:57:13 +0000 (+0300) Subject: for wince X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1829b0dc8541492d5482bacbb045b1b817fead03;p=p5sagit%2Fp5-mst-13.2.git for wince From: "Konovalov, Vadim" Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com> p4raw-id: //depot/perl@26140 --- diff --git a/makedef.pl b/makedef.pl index e8fa48a..9d3c632 100644 --- a/makedef.pl +++ b/makedef.pl @@ -36,7 +36,7 @@ my %PLATFORM; defined $PLATFORM || die "PLATFORM undefined, must be one of: @PLATFORM\n"; exists $PLATFORM{$PLATFORM} || die "PLATFORM must be one of: @PLATFORM\n"; -if ($PLATFORM eq 'win32' or $PLATFORM eq "aix") { +if ($PLATFORM eq 'win32' or $PLATFORM eq 'wince' or $PLATFORM eq "aix") { # Add the compile-time options that miniperl was built with to %define. # On Win32 these are not the same options as perl itself will be built # with since miniperl is built with a canned config (one of the win32/ @@ -45,7 +45,8 @@ if ($PLATFORM eq 'win32' or $PLATFORM eq "aix") { # source files and header files and don't include any BUILDOPT's that # the user might have chosen to disable because the canned configs are # minimal configs that don't include any of those options. - my $config = `$^X -Ilib -V`; + my $opts = ($PLATFORM eq 'wince' ? '-MCross' : ''); + my $config = `$^X $opts -Ilib -V`; my($options) = $config =~ /^ Compile-time options: (.*?)\n^ \S/ms; $options =~ s/\s+/ /g; print STDERR "Options: ($options)\n"; diff --git a/wince/Makefile.ce b/wince/Makefile.ce index 8c9f969..782ebac 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 5708091..455dc6d 100644 --- a/wince/config.ce +++ b/wince/config.ce @@ -1,6 +1,6 @@ ## Configured by: ~cf_email~ ## Target system: WINCE -Author='Rainer Keuchel 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 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 @@ -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 dc92163..db89413 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