summaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
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;