sbcl: forgot hunk

This commit is contained in:
Christian Neukirchen 2016-12-25 18:06:14 +01:00
parent 15039a9b8f
commit 313165d185
1 changed files with 12 additions and 0 deletions

View File

@ -106,3 +106,15 @@
(:integer HOST-NOT-FOUND "HOST_NOT_FOUND" "Authoritative Answer Host not found.")
(:integer TRY-AGAIN "TRY_AGAIN" "Non-Authoritative Host not found, or SERVERFAIL.")
(:integer NO-RECOVERY "NO_RECOVERY" "Non recoverable errors, FORMERR, REFUSED, NOTIMP.")
--- src/runtime/linux-os.c.orig
+++ src/runtime/linux-os.c
@@ -181,6 +181,9 @@
int
isnptl (void)
{
+#ifndef __GLIBC__
+ return 1;
+#endif
size_t n = confstr (_CS_GNU_LIBPTHREAD_VERSION, NULL, 0);
if (n > 0) {
char *buf = alloca (n);