fix the build issue on manylinux1

local_add_cudnn_lstm
peizhilin 7 years ago
parent 3c77ce3751
commit b6b8626e9c

@ -137,10 +137,10 @@ inline pid_t gettid() {
#define __NR_gettid 224
#endif
pid_t tid = syscall(__NR_gettid);
#endif
#else // _WIN32
#else // _WIN32
pid_t tid = _getpid();
#endif // _WIN32
#endif // _WIN32
#endif
CHECK_NE((int)tid, -1);
return tid;
}

Loading…
Cancel
Save