[PATCH] Handle missing __suseconds64_t

Masatoshi SANO <[email protected]> Sat, 28 Mar 2026 17:25:17 +0900
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAH6JMpiM40RWFSUtmCP4qHJNLOAkZmzHb4i+V1ZSGtoxMP5Z7w@mail.gmail.com>
I noticed the build was failing on musl x86 due to missing __suseconds64_t.
The attached patch adds an os-provides-suseconds64-t feature flag and falls
back to suseconds_t when the type is missing.

BTW, are there any non-win32 platforms still in use that lack suseconds_t
entirely? If not, the #-os-provides-suseconds-t "long" fallback might be
dead code at this point.

CI results for reference:
- Before (failing):
https://github.com/roswell/sbcl_head/actions/runs/23646018362
- After (passing):
https://github.com/roswell/sbcl_head/actions/runs/23664212234

_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel
00_suseconds64-t (application/octet-stream, 1.9 KB) - not displayed