Merge "adb: sysdeps_win32: actually change ExitThread to _endthreadex."
am: 519f9aea43
* commit '519f9aea436b957371061544da380cebc2cafb96':
adb: sysdeps_win32: actually change ExitThread to _endthreadex.
diff --git a/adb/sysdeps.h b/adb/sysdeps.h
index f9f6f69..3bae09e 100644
--- a/adb/sysdeps.h
+++ b/adb/sysdeps.h
@@ -170,7 +170,7 @@
}
static __inline__ void __attribute__((noreturn)) adb_thread_exit() {
- ExitThread(0);
+ _endthreadex(0);
}
static __inline__ int adb_thread_setname(const std::string& name) {