mirror of
https://github.com/wolfcw/libfaketime.git
synced 2026-05-17 08:36:28 +03:00
Define CLOCK_MONOTONIC_RAW where it is not present
This fixes compilation on Debian GNU/kFreeBSD
This commit is contained in:
@@ -83,6 +83,12 @@ typedef int clockid_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* some systems lack raw clock */
|
||||
#ifndef CLOCK_MONOTONIC_RAW
|
||||
#define CLOCK_MONOTONIC_RAW 4
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* Per thread variable, which we turn on inside real_* calls to avoid modifying
|
||||
* time multiple times
|
||||
|
||||
Reference in New Issue
Block a user