diff --git a/platform_code/arduino/clock_gettime.cpp b/platform_code/arduino/clock_gettime.cpp index 8428a1f..2422498 100644 --- a/platform_code/arduino/clock_gettime.cpp +++ b/platform_code/arduino/clock_gettime.cpp @@ -3,7 +3,7 @@ #include #define micro_rollover_useconds 4294967295 -#ifndef _POSIX_TIMERS +#if !defined(_POSIX_TIMERS) || !_POSIX_TIMERS extern "C" int clock_gettime(clockid_t unused, struct timespec *tp) {