1
0
mirror of https://github.com/simh/simh.git synced 2026-02-03 07:11:22 +00:00

TIMER: Define HAVE_STRUCT_TIMESPEC consistently for compiler compatibility

As mentioned in #606
This commit is contained in:
Mark Pizzolato
2018-08-06 13:15:09 -07:00
parent fee95b0527
commit 2ddc0e61ad
2 changed files with 5 additions and 5 deletions

View File

@@ -93,7 +93,7 @@ return 0;
#define CLOCK_REALTIME 1
#define NEED_CLOCK_GETTIME 1
#if !defined(HAVE_STRUCT_TIMESPEC)
#define HAVE_STRUCT_TIMESPEC 1
#define HAVE_STRUCT_TIMESPEC
#if !defined(_TIMESPEC_DEFINED)
#define _TIMESPEC_DEFINED
struct timespec {