diff options
author | Brent Cook <busterb@gmail.com> | 2018-03-23 11:10:16 -0500 |
---|---|---|
committer | Brent Cook <busterb@gmail.com> | 2018-03-23 11:10:16 -0500 |
commit | 4b2a8cd1c16896ca5d4570656435aa1b69bcbd46 (patch) | |
tree | 333472442bd483e9a391bf252a29f36cde87290c /include | |
parent | 70e6be3d6e82cbdc7a8ca5e9f2a1e0d95ece17c2 (diff) | |
download | portable-4b2a8cd1c16896ca5d4570656435aa1b69bcbd46.tar.gz portable-4b2a8cd1c16896ca5d4570656435aa1b69bcbd46.tar.bz2 portable-4b2a8cd1c16896ca5d4570656435aa1b69bcbd46.zip |
adjust definition of compat clock_gettime
Diffstat (limited to 'include')
-rw-r--r-- | include/compat/time.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/compat/time.h b/include/compat/time.h index 117a441..fb0ab29 100644 --- a/include/compat/time.h +++ b/include/compat/time.h | |||
@@ -30,11 +30,8 @@ time_t timegm(struct tm *tm); | |||
30 | #define CLOCK_REALTIME 0 | 30 | #define CLOCK_REALTIME 0 |
31 | #endif | 31 | #endif |
32 | 32 | ||
33 | #ifndef _WIN32 | ||
34 | #ifndef HAVE_CLOCK_GETTIME | 33 | #ifndef HAVE_CLOCK_GETTIME |
35 | int | 34 | int clock_gettime(int clock_id, struct timespec *tp); |
36 | clock_gettime(clockid_t clock_id, struct timespec *tp); | ||
37 | #endif | ||
38 | #endif | 35 | #endif |
39 | 36 | ||
40 | #ifndef timespecsub | 37 | #ifndef timespecsub |