improved backward compatibility

This commit is contained in:
Heng Li 2011-10-28 16:17:07 -04:00
parent 74bb4c4073
commit 7f452961e2

2
bgzf.h
View File

@ -76,6 +76,8 @@ extern "C" {
*/
BGZF* bgzf_dopen(int fd, const char *mode);
#define bgzf_fdopen(fd, mode) bgzf_dopen((fd), (mode)) // for backward compatibility
/**
* Open the specified file for reading or writing.
*/