Skip to content

Upgrade to _XOPEN_SOURCE=700, to match HTSlib#2221

Merged
vasudeva8 merged 1 commit into
samtools:developfrom
daviesrob:xopen_source
May 16, 2025
Merged

Upgrade to _XOPEN_SOURCE=700, to match HTSlib#2221
vasudeva8 merged 1 commit into
samtools:developfrom
daviesrob:xopen_source

Conversation

@daviesrob

Copy link
Copy Markdown
Member

HTSlib now needs _XOPEN_SOURCE=700, mainly for ref-cache. Upgrade SAMtools to match. This mainly affects the CI builds, and Windows with an embedded HTSlib, where SAMtools' setting could override the one expected by HTSlib.

Replace a few instances of usleep() with nanosleep() as the former was deprecated and removed from _XOPEN_SOURCE=700 onwards.

HTSlib now needs _XOPEN_SOURCE=700, mainly for ref-cache.  Upgrade
SAMtools to match.  This mainly affects the CI builds, and Windows
with an embedded HTSlib, where SAMtools' setting could override
the one expected by HTSlib.

Replace a few instances of usleep() with nanosleep() as the former
was deprecated and removed from _XOPEN_SOURCE=700 onwards.
@vasudeva8 vasudeva8 merged commit 27aebb2 into samtools:develop May 16, 2025
@daviesrob daviesrob deleted the xopen_source branch May 19, 2025 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants