Commit d157e205 authored by bellard's avatar bellard
Browse files

win32 fix

git-svn-id: svn:// c046a42c-6fe2-441c-8c8c-71466251a162
parent 5f21aef2
......@@ -68,7 +68,11 @@ static void get_time (m48t59_t *NVRAM, struct tm *tm)
time_t t;
t = time(NULL) + NVRAM->time_offset;
localtime_r(&t, tm);
#ifdef _WIN32
localtime_r (&t, tm) ;
static void set_time (m48t59_t *NVRAM, struct tm *tm)
......@@ -130,7 +134,11 @@ static void alarm_cb (void *opaque)
static void get_alarm (m48t59_t *NVRAM, struct tm *tm)
localtime_r(&NVRAM->alarm, tm);
#ifdef _WIN32
localtime_r (&NVRAM->alarm, tm);
static void set_alarm (m48t59_t *NVRAM, struct tm *tm)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment