diff options
author | Fredrik Fornwall <fredrik@fornwall.net> | 2019-12-12 02:05:03 +0100 |
---|---|---|
committer | Fredrik Fornwall <fredrik@fornwall.net> | 2019-12-12 02:05:03 +0100 |
commit | e751159a38d7dddbd992ac36498e6cb4007bc1b2 (patch) | |
tree | 515fbfe781e134b0e70ec44f1e683e7d780dbe05 | |
parent | ce0f63d0b223cfbd894efd9f931aa880c22a3199 (diff) |
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;
-rw-r--r-- | src/proxy/store.c | 3 |
1 files changed, 0 insertions, 3 deletions
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 <stdlib.h> #include <string.h> #include <time.h> -#ifdef __ANDROID__ -static long int timezone = 0; -#endif /* Locking */ #ifdef _WIN32 |