mirror of
https://github.com/open-simh/simh.git
synced 2026-04-25 03:44:58 +00:00
Fix for OSX clean compile
This commit is contained in:
@@ -33,6 +33,10 @@
|
|||||||
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
#if defined (__APPLE__)
|
||||||
|
#define HAVE_STRUCT_TIMESPEC 1 /* OSX defined the structure but doesn't tell us */
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef CLOCK_REALTIME
|
#ifndef CLOCK_REALTIME
|
||||||
#define CLOCK_REALTIME 1
|
#define CLOCK_REALTIME 1
|
||||||
#define NEED_CLOCK_GETTIME 1
|
#define NEED_CLOCK_GETTIME 1
|
||||||
|
|||||||
Reference in New Issue
Block a user