diff options
author | ng0 <ng0@n0.is> | 2019-09-09 19:17:18 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-09-09 19:17:18 +0000 |
commit | 483b0139a218a5f8a8311bda3eb23bcd88f57688 (patch) | |
tree | d9e7a0f5053cdaa1a720485b93e9927f08466958 /src/util/test_strings.c | |
parent | ec472b1aae122481f4f7e760e5242753eba9bf87 (diff) | |
download | gnunet-483b0139a218a5f8a8311bda3eb23bcd88f57688.tar.gz gnunet-483b0139a218a5f8a8311bda3eb23bcd88f57688.zip |
Remove win32 and cygwin support
Diffstat (limited to 'src/util/test_strings.c')
-rw-r--r-- | src/util/test_strings.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util/test_strings.c b/src/util/test_strings.c index 4a7861965..a4e548e31 100644 --- a/src/util/test_strings.c +++ b/src/util/test_strings.c | |||
@@ -114,18 +114,6 @@ main(int argc, char *argv[]) | |||
114 | 114 | ||
115 | if (atx.abs_value_us != at.abs_value_us) | 115 | if (atx.abs_value_us != at.abs_value_us) |
116 | { | 116 | { |
117 | #ifdef WINDOWS | ||
118 | DWORD tzv; | ||
119 | TIME_ZONE_INFORMATION tzi; | ||
120 | tzv = GetTimeZoneInformation(&tzi); | ||
121 | if (TIME_ZONE_ID_INVALID != tzv) | ||
122 | { | ||
123 | atx.abs_value_us -= 1000LL * 1000LL * tzi.Bias * 60LL; | ||
124 | } | ||
125 | if (atx.abs_value_us == at.abs_value_us) | ||
126 | fprintf(stderr, | ||
127 | "WARNING: GNUNET_STRINGS_fancy_time_to_absolute() miscalculates timezone!\n"); | ||
128 | #endif | ||
129 | GNUNET_assert(0); | 117 | GNUNET_assert(0); |
130 | } | 118 | } |
131 | 119 | ||