diff options
Diffstat (limited to 'libcxx/src/mutex.cpp')
-rw-r--r-- | libcxx/src/mutex.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/src/mutex.cpp b/libcxx/src/mutex.cpp index fa1e7a0e8ea..e187d8c5994 100644 --- a/libcxx/src/mutex.cpp +++ b/libcxx/src/mutex.cpp @@ -223,7 +223,7 @@ __call_once(volatile unsigned long& flag, void* arg, void(*func)(void*)) #ifndef _LIBCPP_NO_EXCEPTIONS try { -#endif +#endif // _LIBCPP_NO_EXCEPTIONS flag = 1; pthread_mutex_unlock(&mut); func(arg); @@ -241,7 +241,7 @@ __call_once(volatile unsigned long& flag, void* arg, void(*func)(void*)) pthread_cond_broadcast(&cv); throw; } -#endif +#endif // _LIBCPP_NO_EXCEPTIONS } else pthread_mutex_unlock(&mut); |