From: Jarkko Hietaniemi Date: Wed, 24 Apr 2002 18:34:27 +0000 (+0000) Subject: microperl update; boldly assume time() and time_t X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=089ffa160aae6954f5e6f2fe0d71bd86729e40c8;p=p5sagit%2Fp5-mst-13.2.git microperl update; boldly assume time() and time_t (since we assume ANSI and i_time, anyway). p4raw-id: //depot/perl@16143 --- diff --git a/uconfig.h b/uconfig.h index 7e26103..5cbd51d 100644 --- a/uconfig.h +++ b/uconfig.h @@ -1024,7 +1024,7 @@ /* BYTEORDER: * This symbol holds the hexadecimal constant defined in byteorder, - * i.e. 0x1234 or 0x4321, etc... + * in a UV, i.e. 0x1234 or 0x4321 or 0x12345678, etc... * If the compiler supports cross-compiling or multiple-architecture * binaries (eg. on NeXT systems), use compiler-defined macros to * determine the byte order. @@ -2480,12 +2480,16 @@ */ /*#define HAS_TELLDIR_PROTO / **/ +/* HAS_TIME: + * This symbol, if defined, indicates that the time() routine exists. + */ /* Time_t: * This symbol holds the type returned by time(). It can be long, * or time_t on BSD sites (in which case should be * included). */ -#define Time_t int /* Time type */ +#define HAS_TIME /**/ +#define Time_t time_t /* Time type */ /* HAS_TIMES: * This symbol, if defined, indicates that the times() routine exists. diff --git a/uconfig.sh b/uconfig.sh index 4fedcfc..ba3d253 100755 --- a/uconfig.sh +++ b/uconfig.sh @@ -382,7 +382,7 @@ d_tcgetpgrp='undef' d_tcsetpgrp='undef' d_telldir='undef' d_telldirproto='undef' -d_time='undef' +d_time='define' d_times='undef' d_tm_tm_gmtoff='undef' d_tm_tm_zone='undef' @@ -654,7 +654,7 @@ stdio_filbuf='' stdio_ptr='((fp)->_IO_read_ptr)' stdio_stream_array='' strerror_r_proto='0' -timetype=int +timetype=time_t tmpnam_r_proto='0' touch='touch' ttyname_r_proto='0'