summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2016-04-21 23:46:33 -0700
committerMichael Pavone <pavone@retrodev.com>2016-04-21 23:46:33 -0700
commitfc95db97d2755c014ea961e248057eac5452175a (patch)
tree4bec0ab2480188b01a6db77909f1c177cd484615 /menu.c
parentd5c369a7c040e96e2067ebda45d9e1b9ad018e63 (diff)
Implement Windows versions of recently added functions in util.c and get the Windows build working again
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/menu.c b/menu.c
index da72b49..f4b37ed 100644
--- a/menu.c
+++ b/menu.c
@@ -109,6 +109,10 @@ cleanup:
}
#endif
+#ifdef _WIN32
+#define localtime_r(a,b) localtime(a)
+#endif
+
void * menu_write_w(uint32_t address, void * context, uint16_t value)
{
m68k_context *m68k = context;