diff options
author | Maarten Bosmans <mkbosmans@gmail.com> | 2011-01-06 00:51:33 +0100 |
---|---|---|
committer | Maarten Bosmans <mkbosmans@gmail.com> | 2011-02-17 11:58:22 +0100 |
commit | bb12ff83564d43566089dd979639c6993ba76665 (patch) | |
tree | 1d7df88762eeba464971742328b7617ffb93f3b3 /src/pulsecore/core-rtclock.h | |
parent | 0ac0479534d9cb6e4ef734eeb3a663f33a4f8ef3 (diff) |
Apply #ifdefs around functionality not available on win32
And also the reverse: around some win32 specific functionality
Diffstat (limited to 'src/pulsecore/core-rtclock.h')
-rw-r--r-- | src/pulsecore/core-rtclock.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pulsecore/core-rtclock.h b/src/pulsecore/core-rtclock.h index 3b393ed5..62535368 100644 --- a/src/pulsecore/core-rtclock.h +++ b/src/pulsecore/core-rtclock.h @@ -43,8 +43,10 @@ void pa_rtclock_hrtimer_enable(void); struct timeval* pa_rtclock_from_wallclock(struct timeval *tv); +#ifdef HAVE_CLOCK_GETTIME pa_usec_t pa_timespec_load(const struct timespec *ts); struct timespec* pa_timespec_store(struct timespec *ts, pa_usec_t v); +#endif struct timeval* pa_timeval_rtstore(struct timeval *tv, pa_usec_t v, pa_bool_t rtclock); |