mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +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);
|
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__)
|
||||||
|
Loading…
Reference in New Issue
Block a user