提交 87781ac6 编写于 作者: R rofl0r

time.h: add BSD aliases for otherwise internal struct tm members

上级 e895ddc0
......@@ -45,6 +45,10 @@ struct tm
long __tm_gmtoff;
const char *__tm_zone;
};
#if defined(_BSD_SOURCE)
#define tm_gmtoff __tm_gmtoff
#define tm_zone __tm_zone
#endif
clock_t clock (void);
time_t time (time_t *);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册