Now safe to use, given the min api level is now 2.3
This commit is contained in:
parent
79d4d7bfcf
commit
f09ff9319d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue