sb-bsd-sockets: fix GET-HOST-BY-NAME and -ADDRESS on unthreaded builds
authorNikodemus Siivola <nikodemus@random-state.net>
Sat, 19 Nov 2011 19:48:09 +0000 (21:48 +0200)
committerNikodemus Siivola <nikodemus@random-state.net>
Sat, 19 Nov 2011 20:04:34 +0000 (22:04 +0200)
 (Platforms with getaddrinfo.)

 Broken by recent thread-safety fix for the same.

contrib/sb-bsd-sockets/name-service.lisp

index 056bda3..0b731db 100644 (file)
@@ -61,7 +61,7 @@
 
 ;;; Resolving
 
-#+(and sb-thread (not sb-bsd-sockets-addrinfo))
+#-sb-bsd-sockets-addrinfo
 (sb-ext:defglobal **gethostby-lock** (sb-thread:make-mutex :name "gethostby lock"))
 
 (defun get-host-by-name (host-name)