aboutsummaryrefslogtreecommitdiff
path: root/include/__mutex_base
diff options
context:
space:
mode:
Diffstat (limited to 'include/__mutex_base')
-rw-r--r--include/__mutex_base2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__mutex_base b/include/__mutex_base
index 402a52d945e1..4659ca9298c9 100644
--- a/include/__mutex_base
+++ b/include/__mutex_base
@@ -74,7 +74,7 @@ struct _LIBCPP_TYPE_VIS defer_lock_t {};
struct _LIBCPP_TYPE_VIS try_to_lock_t {};
struct _LIBCPP_TYPE_VIS adopt_lock_t {};
-#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_MUTEX)
+#if defined(_LIBCPP_CXX03_LANG) || defined(_LIBCPP_BUILDING_LIBRARY)
extern const defer_lock_t defer_lock;
extern const try_to_lock_t try_to_lock;