diff options
| author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-26 10:40:17 +0000 |
|---|---|---|
| committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2017-01-26 10:40:17 +0000 |
| commit | e2463504672e48537cb2dc861f96496115d316ab (patch) | |
| tree | 91bb3074cac1d40506d78a17282b5237f67650c6 /libcxx/include/__threading_support | |
| parent | 085b612c31b7fdd846b1748248424a4e29bf2237 (diff) | |
| download | bcm5719-llvm-e2463504672e48537cb2dc861f96496115d316ab.tar.gz bcm5719-llvm-e2463504672e48537cb2dc861f96496115d316ab.zip | |
Fix chromium build (libcxx)
Remove the reference to pthread_mach_thread_np() in libcxx headers.
llvm-svn: 293167
Diffstat (limited to 'libcxx/include/__threading_support')
| -rw-r--r-- | libcxx/include/__threading_support | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libcxx/include/__threading_support b/libcxx/include/__threading_support index 13ab769ba93..dfe7fe111e6 100644 --- a/libcxx/include/__threading_support +++ b/libcxx/include/__threading_support @@ -149,11 +149,6 @@ int __libcpp_execute_once(__libcpp_exec_once_flag *flag, void (*init_routine)(void)); // Thread id -#if defined(__APPLE__) && !defined(__arm__) -_LIBCPP_THREAD_ABI_VISIBILITY -mach_port_t __libcpp_thread_get_port(); -#endif - _LIBCPP_THREAD_ABI_VISIBILITY bool __libcpp_thread_id_equal(__libcpp_thread_id t1, __libcpp_thread_id t2); @@ -297,12 +292,6 @@ int __libcpp_execute_once(__libcpp_exec_once_flag *flag, } // Thread id -#if defined(__APPLE__) && !defined(__arm__) -mach_port_t __libcpp_thread_get_port() { - return pthread_mach_thread_np(pthread_self()); -} -#endif - // Returns non-zero if the thread ids are equal, otherwise 0 bool __libcpp_thread_id_equal(__libcpp_thread_id t1, __libcpp_thread_id t2) { |

