Now safe to use, given the min api level is now 2.3

This commit is contained in:
shagr4th 2016-12-19 22:33:13 +01:00
parent 79d4d7bfcf
commit f09ff9319d

View file

@ -210,9 +210,7 @@ set_accesstime()
(void)time(&gmt);
ltm = localtime(&gmt);
#ifdef SYSV_TIME
// shagrath: the timezone field is not available on 2.1 devices :\ so it's crashing
// revert the timezone fix for the time being
//systime_offset = timezone;
systime_offset = timezone;
if( ltm->tm_isdst )
systime_offset -= 3600;
#else