zhanxw / seqminer

Query sequence data (VCF/BCF1/BCF2, Tabix, BGEN, PLINK) in R
http://zhanxw.github.io/seqminer/
Other
30 stars 12 forks source link

Fix for compilation on intel, and flag POSIX source #4

Closed dtrudg closed 9 years ago

dtrudg commented 9 years ago

With intel compiler, knetfile.c requires includ of sys/select.h to build.

Also various samtools code is POSIX, but R is C99 - and might be setup to build packages with -std=c99. Flag the POSIX source files with #define as done by rsamtools:

https://github.com/Bioconductor-mirror/Rsamtools/commit/c70ed5a3b4068aff3af65ca14274ac45b2a28330