-seems to only work on GNU//Linux like this
authorChristian Grothoff <christian@grothoff.org>
Sat, 30 Jun 2012 11:51:06 +0000 (11:51 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sat, 30 Jun 2012 11:51:06 +0000 (11:51 +0000)
src/util/strings.c

index 49239431fee9d07207f38dfbbdf86e7aac53f06f..a574733624e5b0525f7a47943a6b2cf9f730c5f6 100644 (file)
@@ -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;
 }