From fc95db97d2755c014ea961e248057eac5452175a Mon Sep 17 00:00:00 2001 From: Michael Pavone Date: Thu, 21 Apr 2016 23:46:33 -0700 Subject: Implement Windows versions of recently added functions in util.c and get the Windows build working again --- menu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'menu.c') 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; -- cgit v1.2.3