diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 10:32:56 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-11-17 10:32:56 +0000 |
commit | a45c53bc5b6c5bd40b17f6bb5d3c2af100977dee (patch) | |
tree | eead21686018dae63edcc5b272d24484ea42ec0e /include | |
parent | f728d220dfcacd4fd28eb91118a28ecdf1971bd7 (diff) |
use autoconf results to conditionally compile timersub
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89372 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index 8a7f2f83f..f16c6f0b9 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1357,7 +1357,7 @@ static inline int ast_fdisset(struct pollfd *pfds, int fd, int max, int *start) return 0; } -#ifdef SOLARIS +#ifndef HAVE_TIMERSUB static inline void timersub(struct timeval *tvend, struct timeval *tvstart, struct timeval *tvdiff) { tvdiff->tv_sec = tvend->tv_sec - tvstart->tv_sec; |