On Thu Sep 11 17:29:39 2025 +0000, Elizabeth Figura wrote:
Hmm okay, I found a different FreeBSD manpage, which more explicitly says that both BOOTTIME and MONOTONIC do include suspend: https://man.freebsd.org/cgi/man.cgi?query=clock_gettime&apropos=0&sektion=2&... Ah I was looking at https://man.freebsd.org/cgi/man.cgi?query=clock_gettime
Well it seems they implemented things differently to what they intended to do, and given that previous versions did not include suspend and now `CLOCK_BOOTTIME` behaves identical to `CLOCK_MONOTONIC` (both including suspend) that `__linux__` check is really unnecessary there now. I couldn't find any other BSD with `CLOCK_BOOTTIME` so I will just remove it. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8916#note_115719