G M: A small patch to fix a couple of warnings in stdexcept.cpp for cl.exe which does not support #pragma visibility.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@191988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e564246ec
commit
9844b6796b
@ -28,7 +28,9 @@
|
||||
|
||||
// Note: optimize for size
|
||||
|
||||
#if ! defined(_LIBCPP_MSVC)
|
||||
#pragma GCC visibility push(hidden)
|
||||
#endif
|
||||
|
||||
namespace
|
||||
{
|
||||
@ -91,7 +93,9 @@ __libcpp_nmstr::~__libcpp_nmstr()
|
||||
|
||||
}
|
||||
|
||||
#if ! defined(_LIBCPP_MSVC)
|
||||
#pragma GCC visibility pop
|
||||
#endif
|
||||
|
||||
namespace std // purposefully not using versioning namespace
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user