25 Mar
2025
25 Mar
'25
11:30 a.m.
On Tue Mar 25 11:21:48 2025 +0000, Jinoh Kang wrote:
checking at compile time against `sys/syscall.h` will be sufficient here I would guess. It's not in `sys/syscall.h`. thread\_set\_tsd\_base() is a machdep syscall. Ah interesting that it is machdep syscall and not a unix syscall, but that does make sense. In that case checking against the machine code is probably the best option like you suggested.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6866#note_99014