]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
ifdef windows functions in testbound.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Apr 2009 13:26:15 +0000 (13:26 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 27 Apr 2009 13:26:15 +0000 (13:26 +0000)
git-svn-id: file:///svn/unbound/trunk@1618 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
testcode/testbound.c

index edb7fd2106c9ece0701938e6a08382f8adcd01db..569fd39ae30bfb478a7e37f28c4c871acfb73ff5 100644 (file)
@@ -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.
index 728ae45bd330d62237b9862a3be5350c5e766ec5..e503a27cfec3c30387346392f7077d3825cc8d97 100644 (file)
@@ -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 */
+