diff options
author | vanhauser-thc <vh@thc.org> | 2024-04-07 18:44:21 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2024-04-07 18:44:21 +0200 |
commit | 29544e4d2bf24859030823a4b6a13df00928f7e1 (patch) | |
tree | bce1d8b5da3622b94ffbc6244537632dcbc54525 | |
parent | 420a90ff75bc37a2b02055b2587a69741a8194eb (diff) | |
download | afl++-29544e4d2bf24859030823a4b6a13df00928f7e1.tar.gz |
fix time
-rw-r--r-- | src/afl-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-common.c b/src/afl-common.c index a956fef9..6d915b00 100644 --- a/src/afl-common.c +++ b/src/afl-common.c @@ -64,7 +64,8 @@ u8 last_intr = 0; * FAST on such systems when COARSE is not already defined. * - 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 #elif defined(OS_FREEBSD) #define CLOCK_MONOTONIC_COARSE CLOCK_MONOTONIC_FAST |