]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/BGZF.h
Attempt to fix SamHeaderVersion compile bug
[bamtools.git] / src / api / BGZF.h
index 37bcff75bd2a3a93bb9665c21b250f2b69321246..0ee02860fc307bbd9350a5f540fb689564fad7a8 100644 (file)
@@ -3,7 +3,7 @@
 // Marth Lab, Department of Biology, Boston College\r
 // All rights reserved.\r
 // ---------------------------------------------------------------------------\r
-// Last modified: 16 August 2010 (DB)\r
+// Last modified: 19 November 2010 (DB)\r
 // ---------------------------------------------------------------------------\r
 // BGZF routines were adapted from the bgzf.c code developed at the Broad\r
 // Institute.\r
 #ifndef BGZF_H\r
 #define BGZF_H\r
 \r
-// 'C' includes\r
+#include <api/api_global.h>\r
+#include "zlib.h"\r
+\r
 #include <cstdio>\r
 #include <cstdlib>\r
 #include <cstring>\r
-\r
-// C++ includes\r
 #include <string>\r
 \r
-// zlib includes\r
-#include "zlib.h"\r
-\r
 // Platform-specific large-file support\r
 #ifndef BAMTOOLS_LFS\r
 #define BAMTOOLS_LFS\r
@@ -75,7 +72,7 @@ const int BLOCK_FOOTER_LENGTH = 8;
 const int MAX_BLOCK_SIZE      = 65536;\r
 const int DEFAULT_BLOCK_SIZE  = 65536;\r
 \r
-struct BgzfData {\r
+struct API_EXPORT BgzfData {\r
 \r
     // data members\r
     public:\r