1
0
mirror of https://github.com/open-simh/simh.git synced 2026-01-25 19:57:36 +00:00

TIMER: Support 1ms timer resolution in Cygwin

This commit is contained in:
Tony Lawrence
2022-06-14 15:39:55 -04:00
committed by Paul Koning
parent 8b181a360c
commit a06ab20512
2 changed files with 9 additions and 1 deletions

View File

@@ -88,6 +88,9 @@
#include "sim_defs.h"
#include <ctype.h>
#include <math.h>
#ifdef HAVE_WINMM
#include <windows.h>
#endif
#define SIM_INTERNAL_CLK (SIM_NTIMERS+(1<<30))
#define SIM_INTERNAL_UNIT sim_internal_timer_unit
@@ -462,7 +465,7 @@ return 0;
}
#endif /* CLOCK_REALTIME */
#elif defined (_WIN32)
#elif defined (_WIN32) || defined(HAVE_WINMM)
/* Win32 routines */