diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-30 11:51:06 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-30 11:51:06 +0000 |
commit | dcbe896ac2c25ffd0f049951f382dd0c78bd8c2a (patch) | |
tree | aa82bab9cf1fcedb33af49c03eafd0f078a07ae2 /src/util/strings.c | |
parent | 17831db01eb1033d04b0b535b808b124f1f75a00 (diff) | |
download | gnunet-dcbe896ac2c25ffd0f049951f382dd0c78bd8c2a.tar.gz gnunet-dcbe896ac2c25ffd0f049951f382dd0c78bd8c2a.zip |
-seems to only work on GNU//Linux like this
Diffstat (limited to 'src/util/strings.c')
-rw-r--r-- | src/util/strings.c | 2 |
1 files changed, 2 insertions, 0 deletions
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, | |||
351 | return GNUNET_SYSERR; | 351 | return GNUNET_SYSERR; |
352 | t = mktime (&tv); | 352 | t = mktime (&tv); |
353 | atime->abs_value = (uint64_t) ((uint64_t) t * 1000LL); | 353 | atime->abs_value = (uint64_t) ((uint64_t) t * 1000LL); |
354 | #if LINUX | ||
354 | atime->abs_value -= 1000LL * timezone; | 355 | atime->abs_value -= 1000LL * timezone; |
356 | #endif | ||
355 | return GNUNET_OK; | 357 | return GNUNET_OK; |
356 | } | 358 | } |
357 | 359 | ||