From: Christian Grothoff Date: Sat, 30 Jun 2012 11:51:06 +0000 (+0000) Subject: -seems to only work on GNU//Linux like this X-Git-Tag: initial-import-from-subversion-38251~12713 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=dcbe896ac2c25ffd0f049951f382dd0c78bd8c2a;p=oweals%2Fgnunet.git -seems to only work on GNU//Linux like this --- 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; }