Changeset 3888


Ignore:
Timestamp:
Mar 25, 2020, 6:08:31 AM (2 months ago)
Author:
Peter
Message:

fix compilation errors in --with-htslib mode introduced in r3883, refs #939

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/libbam.cc

    r3883 r3888  
    2121#include <config.h>
    2222
     23#ifdef YAT_HAVE_HTSLIB
    2324#include <yat/omic/config_bam.h>
    2425#include <yat/utility/config_public.h>
     26#endif
    2527
    2628#include "Suite.h"
     
    3032int main(int argc, char* argv[])
    3133{
    32   test::Suite suite(argc, argv, true);
     34  test::Suite suite(argc, argv);
    3335#ifdef YAT_HAVE_HTSLIB
    3436  #ifndef YAT_HAVE_LIBBAM
  • trunk/test/pileup.cc

    r3883 r3888  
    5252
    5353
     54#ifdef YAT_HAVE_HTSLIB
    5455char seq_nt16(size_t x)
    5556{
     
    5758}
    5859
    59 #ifdef YAT_HAVE_HTSLIB
     60
    6061void test1(test::Suite& suite, const std::string& fn)
    6162{
  • trunk/yat/utility/Cigar.h

    r3792 r3888  
    2929
    3030// allow inclusion of config_bam.h so this file is available also without bam.h
    31 #ifdef YAT_HAVE_LIBBAM
     31#ifdef YAT_HAVE_HTSLIB
    3232#include "yat/omic/config_bam.h"
    33 #include YAT_SAM_HEADER
     33#include <htslib/sam.h>
    3434#else // if sam.h is not available #define CIGAR
    3535/// describe how CIGAR operation/length is packed into a 32-bit
Note: See TracChangeset for help on using the changeset viewer.