提交 721c08dc 编写于 作者: mysterywolf's avatar mysterywolf 提交者: mysterywolf

[libc][time] 解决部分编译平台CLOCKS_PER_SEC无法被重新定义的问题

上级 b1beed20
......@@ -24,6 +24,9 @@ typedef __time64_t time_t;
extern "C" {
#endif
#undef CLOCKS_PER_SEC
#define CLOCKS_PER_SEC RT_TICK_PER_SECOND
/* timezone */
#define DST_NONE 0 /* not on dst */
#define DST_USA 1 /* USA style dst */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册