[cfe-commits] [libcxxabi] r152736 - /libcxxabi/trunk/src/cxa_guard.cpp
Howard Hinnant
hhinnant at apple.com
Wed Mar 14 12:39:50 PDT 2012
Author: hhinnant
Date: Wed Mar 14 14:39:50 2012
New Revision: 152736
URL: http://llvm.org/viewvc/llvm-project?rev=152736&view=rev
Log:
Missed an underscore on the last commit.
Modified:
libcxxabi/trunk/src/cxa_guard.cpp
Modified: libcxxabi/trunk/src/cxa_guard.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/src/cxa_guard.cpp?rev=152736&r1=152735&r2=152736&view=diff
==============================================================================
--- libcxxabi/trunk/src/cxa_guard.cpp (original)
+++ libcxxabi/trunk/src/cxa_guard.cpp Wed Mar 14 14:39:50 2012
@@ -62,7 +62,7 @@
pthread_mutex_t guard_mut = PTHREAD_MUTEX_INITIALIZER;
pthread_cond_t guard_cv = PTHREAD_COND_INITIALIZER;
-#if defined(__APPLE__) && !defined(__arm_)
+#if defined(__APPLE__) && !defined(__arm__)
typedef uint32_t lock_type;
@@ -169,7 +169,7 @@
int result = *initialized == 0;
if (result)
{
-#if defined(__APPLE__) && !defined(__arm_)
+#if defined(__APPLE__) && !defined(__arm__)
const lock_type id = pthread_mach_thread_np(pthread_self());
lock_type lock = get_lock(*guard_object);
if (lock)
More information about the cfe-commits
mailing list