From: H.Merijn Brand Date: Mon, 7 Jul 2008 20:39:20 +0000 (+0000) Subject: Probe for timegm X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=cbb9e8a748b5e5e3976f6136bbf786e27be09152;p=p5sagit%2Fp5-mst-13.2.git Probe for timegm p4raw-id: //depot/perl@34107 --- diff --git a/Configure b/Configure index bce1daa..1a9b290 100755 --- a/Configure +++ b/Configure @@ -25,7 +25,7 @@ # $Id: Head.U 6 2006-08-25 22:21:46Z rmanfredi $ # -# Generated on Mon Jul 7 21:59:59 CEST 2008 [metaconfig 3.5 PL0] +# Generated on Mon Jul 7 22:34:20 CEST 2008 [metaconfig 3.5 PL0] # (with additional metaconfig patches by perlbug@perl.org) cat >c1$$ <$CONFIG_H -e 's!^#undef\(.*/\)\*!/\*#define\1 \*!' -e 's!^#un */ #$d_telldirproto HAS_TELLDIR_PROTO /**/ +/* HAS_TIMEGM: + * This symbol, if defined, indicates that the timegm routine is + * available to do the opposite of gmtime () + */ +#$d_timegm HAS_TIMEGM /**/ + /* U32_ALIGNMENT_REQUIRED: * This symbol, if defined, indicates that you must access * character data through U32-aligned pointers. diff --git a/handy.h b/handy.h index 8392efc..1c8f8f4 100644 --- a/handy.h +++ b/handy.h @@ -177,7 +177,7 @@ typedef U64TYPE U64; #endif /* HMB H.Merijn Brand - a placeholder for preparing Configure patches */ -#if defined(LOCALTIME_R_NEEDS_TZSET) && defined(HAS_PSEUDOFORK) && defined(USE_DTRACE) && defined(GMTIME_MAX) && defined(GMTIME_MIN) +#if defined(LOCALTIME_R_NEEDS_TZSET) && defined(HAS_PSEUDOFORK) && defined(USE_DTRACE) && defined(GMTIME_MAX) && defined(GMTIME_MIN) && defined(HAS_TIMEGM) /* Not (yet) used at top level, but mention them for metaconfig */ #endif