]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
please ranlib
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Oct 2008 09:19:37 +0000 (09:19 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Fri, 17 Oct 2008 09:19:37 +0000 (09:19 +0000)
git-svn-id: file:///svn/unbound/trunk@1308 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
util/winsock_event.c

index 686b89bea61757939ea84a6ff00659d9bd00536c..382743bc5d2fa5506ccc589d074ba430bc8f65ac 100644 (file)
@@ -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).
index 1c583efc6e1adca0edde12d85534b9fe228179c5..56bf2d6f0434c63e531e466ee2ffc9d6bc86305a 100644 (file)
@@ -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 */