aboutsummaryrefslogtreecommitdiff
path: root/include/__debug
diff options
context:
space:
mode:
Diffstat (limited to 'include/__debug')
-rw-r--r--include/__debug2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/__debug b/include/__debug
index d95e339310d4..d01bacdf7edc 100644
--- a/include/__debug
+++ b/include/__debug
@@ -74,7 +74,7 @@ typedef void(*__libcpp_debug_function_type)(__libcpp_debug_info const&);
/// __libcpp_debug_function - The handler function called when a _LIBCPP_ASSERT
/// fails.
-extern __libcpp_debug_function_type __libcpp_debug_function;
+extern _LIBCPP_EXTERN_VIS __libcpp_debug_function_type __libcpp_debug_function;
/// __libcpp_abort_debug_function - A debug handler that aborts when called.
_LIBCPP_NORETURN _LIBCPP_FUNC_VIS