mirror of
https://github.com/cc65/cc65.git
synced 2025-02-07 04:31:38 +00:00
Split out cases for MINGW32 and MINGW64
This commit is contained in:
parent
f3e8f36f00
commit
328006e500
@ -65,7 +65,11 @@ void PeripheralsWriteByte (uint8_t Addr, uint8_t Val)
|
|||||||
|
|
||||||
struct timespec ts;
|
struct timespec ts;
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(__MINGW64__)
|
||||||
|
bool time_valid = false;
|
||||||
|
#elif defined(__MINGW32__)
|
||||||
|
bool time_valid = false;
|
||||||
|
#elif defined(_MSC_VER)
|
||||||
/* clock_gettime() is not available in the Visual Studio compiler. Use timespec_get() instead. */
|
/* clock_gettime() is not available in the Visual Studio compiler. Use timespec_get() instead. */
|
||||||
bool time_valid = timespec_get(&ts, TIME_UTC) == TIME_UTC;
|
bool time_valid = timespec_get(&ts, TIME_UTC) == TIME_UTC;
|
||||||
#else
|
#else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user