From e751159a38d7dddbd992ac36498e6cb4007bc1b2 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 12 Dec 2019 02:05:03 +0100 Subject: Fix Android build The NDK headers nowaday has timezone in time.h, so trying to redefine it causes the build to fail with: proxy/store.c:34:18: error: static declaration of 'timezone' follows non-static declaration static long int timezone = 0; ^ include/time.h:42:17: note: previous declaration is here extern long int timezone; --- src/proxy/store.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/proxy/store.c b/src/proxy/store.c index d029d16..81c22ef 100644 --- a/src/proxy/store.c +++ b/src/proxy/store.c @@ -30,9 +30,6 @@ Please visit our Website: http://www.httrack.com #include #include #include -#ifdef __ANDROID__ -static long int timezone = 0; -#endif /* Locking */ #ifdef _WIN32 -- cgit v1.2.3