X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Fdefpackage.lisp;h=c329a819d6631365130f13e0ad93cf212c11a03f;hb=ac28b4bc430e89db490c9bb23ec7aa8d7cfe318a;hp=d0d23b811d571362b2356ab046a05e1633d438c8;hpb=27763fafd1b170518ac2e85b9344fdddddcfd7c5;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/defpackage.lisp b/contrib/sb-bsd-sockets/defpackage.lisp index d0d23b8..c329a81 100644 --- a/contrib/sb-bsd-sockets/defpackage.lisp +++ b/contrib/sb-bsd-sockets/defpackage.lisp @@ -11,7 +11,7 @@ (:use "COMMON-LISP" "SB-ALIEN" "SB-EXT" "SB-C-CALL")) (defpackage "SB-BSD-SOCKETS" - (:export socket local-socket inet-socket + (:export socket local-socket local-abstract-socket inet-socket make-local-socket make-inet-socket socket-bind socket-accept socket-connect socket-send socket-receive socket-recv @@ -68,6 +68,9 @@ arguments to fit Lisp style more closely. ;;; Unfortunately the manual page claims that these functions are not ;;; thread-safe on OS X, but they probably can't be any worse than ;;; gethostbyname and gethostbyaddr. +;;; +;;; CLH: getaddrinfo seems to be broken is broken on x86-64/darwin +#-(and x86-64 darwin) (let ((addr (sb-alien::find-dynamic-foreign-symbol-address "getaddrinfo"))) (when addr (pushnew :sb-bsd-sockets-addrinfo *features*)))