提交 d42214e9 编写于 作者: C Cary Xu

fix: add TD_PATH_MAX to support multi-platform

上级 9f14c599
......@@ -245,7 +245,7 @@ void syslog(int unused, const char *format, ...);
#define TD_TIMEZONE_LEN 96
#if defined(WINDOWS)
#define TD_PATH_MAX MAX_PATH
#define TD_PATH_MAX _MAX_PATH
#elif defined(PATH_MAX)
#define TD_PATH_MAX PATH_MAX
#elif defined(_XOPEN_PATH_MAX)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册