diff options
author | Howard Hinnant <hhinnant@apple.com> | 2012-04-28 16:46:04 +0000 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2012-04-28 16:46:04 +0000 |
commit | cb7f886ccca770e8b3ab9cdd892d740f5b8b8031 (patch) | |
tree | 222805b0b56d610d23297a5206ef825af46c9e51 /src/cxa_handlers.cpp | |
parent | 80e5b1732e0c63da1415b4d8300cf18a03253985 (diff) |
Make __cxa_new_handler un-mangled
git-svn-id: https://llvm.org/svn/llvm-project/libcxxabi/trunk@155763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/cxa_handlers.cpp')
-rw-r--r-- | src/cxa_handlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cxa_handlers.cpp b/src/cxa_handlers.cpp index 100fc50..6c13fcd 100644 --- a/src/cxa_handlers.cpp +++ b/src/cxa_handlers.cpp @@ -101,7 +101,7 @@ terminate() _NOEXCEPT __terminate(get_terminate()); } -new_handler __cxa_new_handler = 0; +extern "C" new_handler __cxa_new_handler = 0; // In the future these will become: // std::atomic<std::new_handler> __cxa_new_handler(0); |