提交 b6b8626e 编写于 作者: P peizhilin

fix the build issue on manylinux1

上级 3c77ce37
...@@ -137,10 +137,10 @@ inline pid_t gettid() { ...@@ -137,10 +137,10 @@ inline pid_t gettid() {
#define __NR_gettid 224 #define __NR_gettid 224
#endif #endif
pid_t tid = syscall(__NR_gettid); pid_t tid = syscall(__NR_gettid);
#endif
#else // _WIN32 #else // _WIN32
pid_t tid = _getpid(); pid_t tid = _getpid();
#endif // _WIN32 #endif // _WIN32
#endif
CHECK_NE((int)tid, -1); CHECK_NE((int)tid, -1);
return tid; return tid;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册