From f09ff9319dd21ecf840fc80c78f228f542818554 Mon Sep 17 00:00:00 2001 From: shagr4th Date: Mon, 19 Dec 2016 22:33:13 +0100 Subject: [PATCH] Now safe to use, given the min api level is now 2.3 --- app/src/main/jni/timer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/jni/timer.c b/app/src/main/jni/timer.c index c59b958..dc4dea2 100644 --- a/app/src/main/jni/timer.c +++ b/app/src/main/jni/timer.c @@ -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