From: Wouter Wijngaards Date: Mon, 27 Apr 2009 13:26:15 +0000 (+0000) Subject: ifdef windows functions in testbound. X-Git-Tag: release-1.3.0~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ffe442608ce9bb9841d5dbd427438acc4f44f7db;p=thirdparty%2Funbound.git ifdef windows functions in testbound. git-svn-id: file:///svn/unbound/trunk@1618 be551aaa-1e26-0410-a405-d3ace91eadb9 --- diff --git a/doc/Changelog b/doc/Changelog index edb7fd210..569fd39ae 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 27 April 2009: Wouter - optimised cname from cache. + - ifdef windows functions in testbound. 23 April 2009: Wouter - fix for threadsafety in solaris thr_key_create() in tests. diff --git a/testcode/testbound.c b/testcode/testbound.c index 728ae45bd..e503a27cf 100644 --- a/testcode/testbound.c +++ b/testcode/testbound.c @@ -336,6 +336,7 @@ void wsvc_desetup_worker(struct worker* ATTR_UNUSED(worker)) /* do nothing */ } +#ifdef UB_ON_WINDOWS void worker_win_stop_cb(int ATTR_UNUSED(fd), short ATTR_UNUSED(ev), void* ATTR_UNUSED(arg)) { @@ -346,3 +347,5 @@ void wsvc_cron_cb(void* ATTR_UNUSED(arg)) { log_assert(0); } +#endif /* UB_ON_WINDOWS */ +