Checking at configure time for timezone integer variable
This commit is contained in:
@ -646,7 +646,10 @@ time_t Decode_timestring(char *code, time_t *date, int flag)
|
||||
#else
|
||||
if(result_tm.tm_isdst < 0)
|
||||
result_tm.tm_isdst = 0;
|
||||
seconds-= timezone - result_tm.tm_isdst * 3600;
|
||||
#ifndef Libburnia_timezonE
|
||||
#define Libburnia_timezonE timezone
|
||||
#endif
|
||||
seconds-= Libburnia_timezonE - result_tm.tm_isdst * 3600;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user