]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
fixup for unix compile.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Mar 2009 19:02:59 +0000 (19:02 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 3 Mar 2009 19:02:59 +0000 (19:02 +0000)
git-svn-id: file:///svn/unbound/trunk@1510 be551aaa-1e26-0410-a405-d3ace91eadb9

util/fptr_wlist.c

index 16de532c1d1db467b0f7ce18df176e5c4c04b351..4f6404ad2bd3acecb3af24ef7ab0b0970fb8824f 100644 (file)
@@ -118,7 +118,9 @@ fptr_whitelist_event(void (*fptr)(int, short, void *))
        else if(fptr == &comm_point_local_handle_callback) return 1;
        else if(fptr == &comm_point_raw_handle_callback) return 1;
        else if(fptr == &tube_handle_signal) return 1;
+#ifdef UB_ON_WINDOWS
        else if(fptr == &worker_win_stop_cb) return 1;
+#endif
        return 0;
 }