mirror of
https://github.com/open-simh/simh.git
synced 2026-01-11 23:53:30 +00:00
slirp: Add missing clock_gettime support for OS X.
This commit is contained in:
parent
86d1e36f29
commit
73f633fa69
@ -187,6 +187,11 @@ return now*100;
|
||||
|
||||
#else
|
||||
|
||||
#if !defined(CLOCK_REALTIME) && !defined(__hpux)
|
||||
#define CLOCK_REALTIME 1
|
||||
int clock_gettime(int clk_id, struct timespec *tp);
|
||||
#endif
|
||||
|
||||
int64_t qemu_clock_get_ns(int type)
|
||||
{
|
||||
struct timespec tv;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user