From: Heng Li Date: Fri, 28 Oct 2011 20:17:07 +0000 (-0400) Subject: improved backward compatibility X-Git-Tag: spawn-final~80 X-Git-Url: http://git.kaiwu.me/postgresql/log/contrib/postgres_fdw/static/gitweb.js?a=commitdiff_plain;h=7f452961e2b6650eb51870bc67617b2d3f6ad171;p=klib.git improved backward compatibility --- diff --git a/bgzf.h b/bgzf.h index 888df8c..29fe0e5 100644 --- a/bgzf.h +++ b/bgzf.h @@ -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. */