From c474b5cea440d8683779467f5ca227d4c5297263 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Fri, 6 Jun 1997 14:30:40 +0000 Subject: [PATCH] Conditional compile. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1841 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/asn1/timegm.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/asn1/timegm.c b/lib/asn1/timegm.c index af3240ffb..3374e04ab 100644 --- a/lib/asn1/timegm.c +++ b/lib/asn1/timegm.c @@ -2,6 +2,8 @@ RCSID("$Id$"); +#ifndef HAVE_TIMEGM + static int is_leap(unsigned y) { @@ -31,3 +33,5 @@ timegm (struct tm *tm) res += tm->tm_sec; return res; } + +#endif