diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2025-01-03 20:49:34 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2025-01-03 21:01:13 +0300 |
commit | a719ba289f03a96a2ad4e96605e57870e50a992b (patch) | |
tree | 5de2e15ebc5a06887f3cf52d9612e394af2511f0 /util/generic/yexception_ut.cpp | |
parent | 331e295515aec415005802efd69cd9d1028a5e00 (diff) | |
download | ydb-a719ba289f03a96a2ad4e96605e57870e50a992b.tar.gz |
Intermediate changes
commit_hash:150f0a7b765d0ba270d9e42834bcf4c074ca0524
Diffstat (limited to 'util/generic/yexception_ut.cpp')
-rw-r--r-- | util/generic/yexception_ut.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/generic/yexception_ut.cpp b/util/generic/yexception_ut.cpp index ad4b5578b0..5e6d87e9c5 100644 --- a/util/generic/yexception_ut.cpp +++ b/util/generic/yexception_ut.cpp @@ -423,7 +423,7 @@ private: try { std::rethrow_exception(std::current_exception()); } catch (...) { -#if defined(LIBCXX_BUILDING_LIBGCC) +#ifdef __GLIBCXX__ UNIT_ASSERT_VALUES_EQUAL(CurrentExceptionTypeName(), "int"); #else UNIT_ASSERT_VALUES_EQUAL(CurrentExceptionTypeName(), "unknown type"); @@ -437,7 +437,7 @@ private: try { throw; } catch (...) { -#if defined(LIBCXX_BUILDING_LIBCXXRT) || defined(LIBCXX_BUILDING_LIBGCC) +#if defined(_linux_) || defined(_darwin_) UNIT_ASSERT_VALUES_EQUAL(CurrentExceptionTypeName(), "int"); #else UNIT_ASSERT_VALUES_EQUAL(CurrentExceptionTypeName(), "unknown type"); |