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;
This commit is contained in:
Fredrik Fornwall
2019-12-12 02:05:03 +01:00
parent ce0f63d0b2
commit e751159a38

View File

@@ -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