]> git.donarmstrong.com Git - samtools.git/blobdiff - bgzf.c
* samtools-0.1.5-6 (r402)
[samtools.git] / bgzf.c
diff --git a/bgzf.c b/bgzf.c
index fe4e31da109f6ca523e73088fb3fd27aa9672587..364ca64cae7069aa61cb2d5154497575aa1627cd 100644 (file)
--- a/bgzf.c
+++ b/bgzf.c
@@ -31,8 +31,13 @@ typedef struct {
 } cache_t;
 KHASH_MAP_INIT_INT64(cache, cache_t)
 
+#ifdef _NO_LFS
+#define ftello(fp) ftell(fp)
+#define fseeko(fp, offset, whence) fseek(fp, offset, whence)
+#else
 extern off_t ftello(FILE *stream);
 extern int fseeko(FILE *stream, off_t offset, int whence);
+#endif
 
 typedef int8_t byte;