Skip to content

Commit b1dbbb7

Browse files
authored
Merge pull request #14629 from wopeizl/windows/port
fix the build issue on manylinux1
2 parents 6c71c1f + 351dc78 commit b1dbbb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/legacy/cuda/src/hl_cuda_device.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,10 @@ inline pid_t gettid() {
137137
#define __NR_gettid 224
138138
#endif
139139
pid_t tid = syscall(__NR_gettid);
140-
#endif
141140
#else // _WIN32
142141
pid_t tid = _getpid();
143142
#endif // _WIN32
143+
#endif
144144
CHECK_NE((int)tid, -1);
145145
return tid;
146146
}

0 commit comments

Comments
 (0)