diff menu.c @ 972:4899d3ae37b3

Implement Windows versions of recently added functions in util.c and get the Windows build working again
author Michael Pavone <pavone@retrodev.com>
date Thu, 21 Apr 2016 23:46:33 -0700
parents 750995b587a0
children 51885857c019
line wrap: on
line diff
--- a/menu.c	Thu Apr 21 22:08:26 2016 -0700
+++ b/menu.c	Thu Apr 21 23:46:33 2016 -0700
@@ -109,6 +109,10 @@
 }
 #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;