#include <sys/stat.h>
#include "bgzf.h"
-#ifdef WIN32\r
-\r
-#else\r
-#include <unistd.h>\r
+#ifdef WIN32
+
+#else
+#include <unistd.h>
extern off_t ftello(FILE *stream);
-extern int fseeko(FILE *stream, off_t offset, int whence);\r
+extern int fseeko(FILE *stream, off_t offset, int whence);
#endif
typedef int8_t byte;
#include <stdio.h>
#include "zlib.h"
-#ifdef WIN32\r
-#include <io.h>\r
-\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
-\r
+#ifdef WIN32
+#include <io.h>
+
+typedef char int8_t;
+typedef unsigned char uint8_t;
+typedef short int16_t;
+typedef unsigned short uint16_t;
+typedef int int32_t;
+typedef unsigned int uint32_t;
+typedef long long int64_t;
+typedef unsigned long long uint64_t;
+
#define ftello(a) _ftelli64(a)
#define fseeko(a,b,c) _fseeki64(a,b,c)
-#define strcasecmp _stricmp\r
-#define open _open\r
-#define fdopen _fdopen\r
-#else\r
-#include <stdint.h>\r
-#include <stdbool.h>\r
+#define strcasecmp _stricmp
+#define open _open
+#define fdopen _fdopen
+#else
+#include <stdint.h>
+#include <stdbool.h>
#endif
typedef struct {