Android: timezone symbol isn't defined, do not use it

This commit is contained in:
Christophe Grenier 2012-12-08 17:57:02 +01:00
parent f3130536bc
commit 80385c0ed1

View file

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