mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-22 13:31:08 +00:00
- fixed small compilation problem
This commit is contained in:
parent
8edc3aa83c
commit
0536eb15a4
@ -57,7 +57,7 @@ uint32 TimerDateTime(void)
|
||||
time_t utc_now = time(NULL);
|
||||
#if defined(__linux__) || defined(__SVR4)
|
||||
long tz = timezone;
|
||||
time_t local_now = uct_now - tz;
|
||||
time_t local_now = utc_now - tz;
|
||||
if (daylight)
|
||||
local_now += 3600;
|
||||
#elif defined(__FreeBSD__) || defined(__NetBSD__)
|
||||
|
Loading…
Reference in New Issue
Block a user