mirror of
https://github.com/cc65/cc65.git
synced 2025-03-19 22:34:04 +00:00
Enable timespec_get in MINGW64 code path to see if that works (2).
This commit is contained in:
parent
65d20eaab4
commit
74f12b4498
@ -67,10 +67,10 @@ void PeripheralsWriteByte (uint8_t Addr, uint8_t Val)
|
||||
|
||||
#if defined(__MINGW64__)
|
||||
/* We check for MINGW64 before MINGW32, since MINGW64 also defines __MINGW32__. */
|
||||
/* does timespec_get work? */
|
||||
/* Using timespec_get() in the MinGW64 compiler makes the Linux workflow build fail. */
|
||||
bool time_valid = timespec_get(&ts, TIME_UTC) == TIME_UTC;
|
||||
/* does clock_gettime work? */
|
||||
bool time_valid = false;
|
||||
//bool time_valid = false;
|
||||
#elif defined(__MINGW32__)
|
||||
/* does timespec_get work? */
|
||||
/* does clock_gettime work? */
|
||||
|
Loading…
x
Reference in New Issue
Block a user