mirror of
https://github.com/xroche/httrack.git
synced 2026-05-17 08:26:14 +03:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user