- fixed small compilation problem

This commit is contained in:
cebix 1999-10-15 15:06:55 +00:00
parent 8edc3aa83c
commit 0536eb15a4

View File

@ -57,7 +57,7 @@ uint32 TimerDateTime(void)
time_t utc_now = time(NULL); time_t utc_now = time(NULL);
#if defined(__linux__) || defined(__SVR4) #if defined(__linux__) || defined(__SVR4)
long tz = timezone; long tz = timezone;
time_t local_now = uct_now - tz; time_t local_now = utc_now - tz;
if (daylight) if (daylight)
local_now += 3600; local_now += 3600;
#elif defined(__FreeBSD__) || defined(__NetBSD__) #elif defined(__FreeBSD__) || defined(__NetBSD__)