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 */