提交 9c7640e5 编写于 作者: S Shengliang Guan

TD-1912

上级 38c28f1c
......@@ -25,9 +25,9 @@ extern "C" {
#define tlseek(fd, offset, whence) lseek(fd, offset, whence)
#define tclose(fd) \
{ \
if (FD_VALID(x)) { \
close(x); \
x = FD_INITIALIZER; \
if (FD_VALID(fd)) { \
close(fd); \
fd = FD_INITIALIZER; \
} \
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册