mirror of
https://github.com/open-simh/simh.git
synced 2026-01-11 23:53:30 +00:00
TIMER: Properly define the timespec structure when building with newer MinGW.
From Dave Bryan.
This commit is contained in:
parent
32440a4138
commit
80595a532f
@ -33,6 +33,9 @@
|
||||
|
||||
/* Pick up a struct timespec definition if it is available */
|
||||
#include <time.h>
|
||||
#if defined(__struct_timespec_defined)
|
||||
#define _TIMESPEC_DEFINED
|
||||
#endif
|
||||
#if defined(SIM_ASYNCH_IO) || defined(USE_READER_THREAD)
|
||||
#include <pthread.h>
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user