master: doc: fix compilation on windows
melisgl via Sbcl-commits <[email protected]> Mon, 29 Jun 2026 12:20:09 +0000
| Newsgroups | gmane.lisp.steel-bank.cvs |
|---|---|
| Message-ID | <[email protected]> |
The branch "master" has been updated in SBCL:
via 7901ac4063823f727d533d0401e66df5bf44dfb9 (commit)
from c50ce6dcaf2e3aa2b3c34740d8c007ba8e12c375 (commit)
- Log -----------------------------------------------------------------
commit 7901ac4063823f727d533d0401e66df5bf44dfb9
Author: Gabor Melis <[email protected]>
Date: Mon Jun 8 23:37:44 2026 +0200
doc: fix compilation on windows
---
contrib/sb-bsd-sockets/manual.lisp | 2 ++
contrib/sb-manual/doc/deprecation.lisp | 2 +-
contrib/sb-manual/doc/threading.lisp | 1 +
contrib/sb-posix/manual.lisp | 9 +++++++++
doc/manual/deprecation.texinfo | 2 +-
5 files changed, 14 insertions(+), 2 deletions(-)
diff --git a/contrib/sb-bsd-sockets/manual.lisp b/contrib/sb-bsd-sockets/manual.lisp
index f1f27bd36..f2d09d407 100644
--- a/contrib/sb-bsd-sockets/manual.lisp
+++ b/contrib/sb-bsd-sockets/manual.lisp
@@ -12,6 +12,7 @@
(@general-sockets section)
(@socket-options section)
(@inet-domain-sockets section)
+ #-win32
(@local-domain-sockets section)
(@name-service section))
@@ -95,6 +96,7 @@
(sb-bsd-sockets:make-inet6-address function)
(sb-bsd-sockets:get-protocol-by-name function))
+#-win32
(defsection @local-domain-sockets (:title "Local Domain Sockets")
"Local domain (`\\\\AF_LOCAL`) sockets are also known as Unix-domain
sockets but were renamed by POSIX presumably on the basis that they
diff --git a/contrib/sb-manual/doc/deprecation.lisp b/contrib/sb-manual/doc/deprecation.lisp
index 7ee8c9f46..ac0cbb72c 100644
--- a/contrib/sb-manual/doc/deprecation.lisp
+++ b/contrib/sb-manual/doc/deprecation.lisp
@@ -383,7 +383,7 @@
Historically needed for CLOS code. Deprecated as of 0.9.3.32 in
August 2005. Deleted as of 1.0.47.8 in April 2011. Plain LAMBDA
- can be used where SB-KERNEL:INSTANCE-LAMBDA used to be needed.
+ can be used where `SB-KERNEL:INSTANCE-LAMBDA` used to be needed.
- `SB-ALIEN:DEF-ALIEN-ROUTINE`, `SB-ALIEN:DEF-ALIEN-VARIABLE`,
`SB-ALIEN:DEF-ALIEN-TYPE`
diff --git a/contrib/sb-manual/doc/threading.lisp b/contrib/sb-manual/doc/threading.lisp
index b7d2569c5..bfa833442 100644
--- a/contrib/sb-manual/doc/threading.lisp
+++ b/contrib/sb-manual/doc/threading.lisp
@@ -254,6 +254,7 @@
session (which it shares with its parent and siblings) and create a
fresh one."
(sb-thread:with-new-session macro)
+ #-win32
(sb-thread:make-listener-thread function)
"Within a single session, threads arbitrate between themselves for
the user's attention. A thread may be in one of three notional
diff --git a/contrib/sb-posix/manual.lisp b/contrib/sb-posix/manual.lisp
index 9f4a70421..114811087 100644
--- a/contrib/sb-posix/manual.lisp
+++ b/contrib/sb-posix/manual.lisp
@@ -141,11 +141,16 @@
system (patches welcome), here is an enumeration of all supported
Lisp objects corresponding to supported POSIX structures, and the
supported slots for those structures."
+ #-(or android win32)
(sb-posix:flock class)
+ #-(or android win32)
(sb-posix:passwd class)
+ #-(or android win32)
(sb-posix:group class)
(sb-posix:stat class)
+ #-win32
(sb-posix:termios class)
+ #-win32
(sb-posix:timeval class))
(defsection @sb-posix-idiosyncracies
@@ -153,7 +158,9 @@
"A few functions in sb-posix don't correspond directly to their C
counterparts."
(sb-posix:getcwd function)
+ #-win32
(sb-posix:readlink function)
+ #-win32
(sb-posix:syslog function))
(defsection @sb-posix-extensions-to-posix (:title "Extensions to POSIX")
@@ -170,5 +177,7 @@
database while preventing the keyed accesses (SB-POSIX:GETPWNAM,
SB-POSIX:GETPWUID, SB-POSIX:GETGRNAM, SB-POSIX:GETGRGID) from
running until iteration completes."
+ #-(or android win32)
(sb-posix:do-passwds macro)
+ #-(or android win32)
(sb-posix:do-groups macro))
diff --git a/doc/manual/deprecation.texinfo b/doc/manual/deprecation.texinfo
index 3c71da875..56f36a609 100644
--- a/doc/manual/deprecation.texinfo
+++ b/doc/manual/deprecation.texinfo
@@ -509,7 +509,7 @@ versions of SBCL, which have since then been deleted.
Historically needed for CLOS code. Deprecated as of 0.9.3.32 in
August 2005. Deleted as of 1.0.47.8 in April 2011. Plain @code{lambda}
-can be used where SB-KERNEL:INSTANCE-LAMBDA used to be needed.
+can be used where @code{sb-kernel:instance-lambda} used to be needed.
@item @code{sb-alien:def-alien-routine}, @code{sb-alien:def-alien-variable},
@code{sb-alien:def-alien-type}
-----------------------------------------------------------------------
hooks/post-receive
--
SBCL