diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-22 20:50:24 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-22 21:04:43 -0500 |
commit | 987aa6a084312be8501bdda42b0e5aab3b84d52a (patch) | |
tree | 9c3cf68f0ca3cb172d5d2238563c979b29543d08 /include/compat/sys | |
parent | 78600e9bec2b52f0f8a0f7ce376f3783999bb824 (diff) | |
download | portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.gz portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.tar.bz2 portable-987aa6a084312be8501bdda42b0e5aab3b84d52a.zip |
add clock_gettime for macos 10.11 and earlier
Diffstat (limited to 'include/compat/sys')
-rw-r--r-- | include/compat/sys/time.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/compat/sys/time.h b/include/compat/sys/time.h index 3d31985..76428c1 100644 --- a/include/compat/sys/time.h +++ b/include/compat/sys/time.h | |||
@@ -13,10 +13,6 @@ int gettimeofday(struct timeval *tp, void *tzp); | |||
13 | #include_next <sys/time.h> | 13 | #include_next <sys/time.h> |
14 | #endif | 14 | #endif |
15 | 15 | ||
16 | #ifndef CLOCK_MONOTONIC | ||
17 | #define CLOCK_MONOTONIC CLOCK_REALTIME | ||
18 | #endif | ||
19 | |||
20 | #ifndef timersub | 16 | #ifndef timersub |
21 | #define timersub(tvp, uvp, vvp) \ | 17 | #define timersub(tvp, uvp, vvp) \ |
22 | do { \ | 18 | do { \ |