]> git.donarmstrong.com Git - bamtools.git/blobdiff - src/api/BGZF.h
Added API_EXPORT macro to classes in BamTools API
[bamtools.git] / src / api / BGZF.h
index c1ff2f818b905b9860ce91e625535391e6190aa7..0ee02860fc307bbd9350a5f540fb689564fad7a8 100644 (file)
@@ -3,7 +3,7 @@
 // Marth Lab, Department of Biology, Boston College\r
 // All rights reserved.\r
 // ---------------------------------------------------------------------------\r
-// Last modified: 20 October 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
+#include <api/api_global.h>\r
+#include "zlib.h"\r
+\r
 #include <cstdio>\r
 #include <cstdlib>\r
 #include <cstring>\r
 #include <string>\r
-#include "zlib.h"\r
 \r
 // Platform-specific large-file support\r
 #ifndef BAMTOOLS_LFS\r
@@ -70,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