git-svn-id: svn+ssh://gene.bc.edu/home/subversion/Derek/BamTools/trunk@5
9efb377e-2e27-44b9-b91a-
ec4abb80ed8b
#ifndef BAMALIGNMENT_H\r
#define BAMALIGNMENT_H\r
\r
+#ifdef WIN32\r
+typedef char int8_t;\r
+typedef unsigned char uint8_t;\r
+typedef short int16_t;\r
+typedef unsigned short uint16_t;\r
+typedef int int32_t;\r
+typedef unsigned int uint32_t;\r
+typedef long long int64_t;\r
+typedef unsigned long long uint64_t;\r
+#else\r
#include <stdint.h>\r
+#endif\r
\r
// C++ includes\r
#include <string>\r
\r
// C library includes\r
#include <assert.h>\r
-#include <stdint.h>\r
#include <stdio.h>\r
#include <stdlib.h>\r
#include <string.h>\r
\r
+#ifdef WIN32\r
+typedef char int8_t;\r
+typedef unsigned char uint8_t;\r
+typedef short int16_t;\r
+typedef unsigned short uint16_t;\r
+typedef int int32_t;\r
+typedef unsigned int uint32_t;\r
+typedef long long int64_t;\r
+typedef unsigned long long uint64_t;\r
+#else\r
+#include <stdint.h>\r
+#endif\r
+\r
// BGZF library includes/defines\r
#include "bgzf.h"\r
typedef BGZF* BamFile;\r