diff options
author | Josh Gao <jmgao@google.com> | 2016-02-12 15:45:04 -0800 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2016-02-12 15:47:19 -0800 |
commit | d7b3749202df90b49d4ab554944e0dd3564fe35a (patch) | |
tree | 3c536cbfc21d3f9f3b1dcd4b1d4a449c96d69965 /adb/sysdeps.h | |
parent | 69c81c75df2e196aea679d24464a68233dcb5393 (diff) | |
download | system_core-d7b3749202df90b49d4ab554944e0dd3564fe35a.tar.gz system_core-d7b3749202df90b49d4ab554944e0dd3564fe35a.tar.bz2 system_core-d7b3749202df90b49d4ab554944e0dd3564fe35a.zip |
adb: sysdeps_win32: actually change ExitThread to _endthreadex.
Forgot to amend this into b5fea14e.
Change-Id: Id04e639eb87043901681db789d7a7925300fa867
Diffstat (limited to 'adb/sysdeps.h')
-rw-r--r-- | adb/sysdeps.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/sysdeps.h b/adb/sysdeps.h index f9f6f6905..3bae09ea1 100644 --- a/adb/sysdeps.h +++ b/adb/sysdeps.h @@ -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) { |