From dcbe896ac2c25ffd0f049951f382dd0c78bd8c2a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 30 Jun 2012 11:51:06 +0000 Subject: [PATCH] -seems to only work on GNU//Linux like this --- src/util/strings.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/strings.c b/src/util/strings.c index 49239431f..a57473362 100644 --- a/src/util/strings.c +++ b/src/util/strings.c @@ -351,7 +351,9 @@ GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time, return GNUNET_SYSERR; t = mktime (&tv); atime->abs_value = (uint64_t) ((uint64_t) t * 1000LL); +#if LINUX atime->abs_value -= 1000LL * timezone; +#endif return GNUNET_OK; } -- 2.25.1