Merge "adb: sysdeps_win32: actually change ExitThread to _endthreadex."

This commit is contained in:
Josh Gao 2016-02-12 23:47:59 +00:00 committed by Gerrit Code Review
commit 519f9aea43

View file

@ -170,7 +170,7 @@ static __inline__ bool adb_thread_detach(adb_thread_t thread) {
}
static __inline__ void __attribute__((noreturn)) adb_thread_exit() {
ExitThread(0);
_endthreadex(0);
}
static __inline__ int adb_thread_setname(const std::string& name) {