mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-20 21:25:43 +00:00
fix time
This commit is contained in:
@ -64,7 +64,8 @@ u8 last_intr = 0;
|
|||||||
* FAST on such systems when COARSE is not already defined.
|
* FAST on such systems when COARSE is not already defined.
|
||||||
* - macOS has no support of CLOCK_MONOTONIC_COARSE clock type.
|
* - macOS has no support of CLOCK_MONOTONIC_COARSE clock type.
|
||||||
*/
|
*/
|
||||||
#if defined(OS_DARWIN) || defined(OS_SUNOS)
|
#if defined(OS_DARWIN) || defined(OS_SUNOS) || defined(__APPLE__) || \
|
||||||
|
defined(__sun) || defined(__NetBSD__)
|
||||||
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC
|
||||||
#elif defined(OS_FREEBSD)
|
#elif defined(OS_FREEBSD)
|
||||||
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST
|
#define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST
|
||||||
|
Reference in New Issue
Block a user