Closed fweimer-rh closed 8 months ago
Thanks for caring enough to provide a PR for pysam. However this is an HTSlib problem that I anticipate may be resolved in a different way, so we'll close this here and revisit when HTSlib has responded to the problem.
It is necessary to define _DEFAULT_SOURCE along with _XOPEN_SOURCE, otherwise the configure check for mmap fails with compilers which do not support implicit function declarations because the check relies on the presence of the getpagesize function.
Downstream version of samtools/htslib#1711.