From 4298a99c6681e3430aa7ea373dbd1363186ebaaf Mon Sep 17 00:00:00 2001 From: Michael Poole Date: Sun, 26 Jun 2011 21:59:22 -0400 Subject: [PATCH] Fix typo in #if test for localtime_r(). --- src/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat.c b/src/compat.c index 9110537..08d7d39 100644 --- a/src/compat.c +++ b/src/compat.c @@ -35,7 +35,7 @@ int gettimeofday(struct timeval * tv, struct timezone * tz) } #endif -#if !defined(HAVE_GETLOCALTIME_R) && defined(HAVE_LOCALTIME) +#if !defined(HAVE_LOCALTIME_R) && defined(HAVE_LOCALTIME) struct tm *localtime_r(const time_t *timep, struct tm *result) { memcpy(result, localtime(timep), sizeof(*result)); -- 2.20.1