From 1275afa125948b9558dc19904c2f2e9e83077c86 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Fri, 17 Oct 2008 09:19:37 +0000 Subject: [PATCH] please ranlib git-svn-id: file:///svn/unbound/trunk@1308 be551aaa-1e26-0410-a405-d3ace91eadb9 --- doc/Changelog | 1 + util/winsock_event.c | 3 +++ 2 files changed, 4 insertions(+) diff --git a/doc/Changelog b/doc/Changelog index 686b89bea..382743bc5 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,5 +1,6 @@ 17 October 2008: Wouter - port Leopard/G5: fixup type conversion size_t/uint32. + please ranlib, stop file without symbols warning. 16 October 2008: Wouter - Fixup negative TTL values appearing (reported by Attila Nagy). diff --git a/util/winsock_event.c b/util/winsock_event.c index 1c583efc6..56bf2d6f0 100644 --- a/util/winsock_event.c +++ b/util/winsock_event.c @@ -604,4 +604,7 @@ void winsock_unregister_wsaevent(struct event* ev) ev->added = 0; } +#else /* USE_WINSOCK */ +/** symbol so this codefile defines symbols. pleasing ranlib on OSX 10.5 */ +int winsock_unused_symbol = 1; #endif /* USE_WINSOCK */