summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2012-12-08 17:57:02 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2012-12-08 17:57:02 +0100
commit80385c0ed135bc24b9241e31b432afee63bc4e09 (patch)
treeb3bc7055367879e286b59682c880e64e6371d62e
parentf3130536bc1adc6b9caa74ff1197fa4d2662d1d5 (diff)
Android: timezone symbol isn't defined, do not use it
-rw-r--r--src/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.c b/src/common.c
index 26f7cf3..42cd5c1 100644
--- a/src/common.c
+++ b/src/common.c
@@ -248,7 +248,7 @@ void set_secwest(void)
tmptr = localtime(&t);
#ifdef HAVE_STRUCT_TM_TM_GMTOFF
secwest = -1 * tmptr->tm_gmtoff;
-#elif defined (DJGPP)
+#elif defined (DJGPP) || defined(__ANDROID__)
secwest = 0;
#else
#if defined (__CYGWIN__)