File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,11 @@ std::string get_os_type(std::string_view os)
9393 std::pair{" NetBSD" sv, kNetbsd },
9494 std::pair{" OpenBSD" sv, kOpenbsd },
9595 std::pair{" SunOS" sv, kSolaris },
96+ #if OPENTELEMETRY_VERSION_MAJOR == 1 && OPENTELEMETRY_VERSION_MINOR < 22
9697 std::pair{" OS/390" sv, kZOs }
98+ #else
99+ std::pair{" OS/390" sv, kZos }
100+ #endif
97101 };
98102
99103#ifdef USE_MPH
Original file line number Diff line number Diff line change @@ -52,7 +52,11 @@ INSTANTIATE_TEST_SUITE_P(
5252 std::make_tuple(" NetBSD" , kNetbsd ),
5353 std::make_tuple(" OpenBSD" , kOpenbsd ),
5454 std::make_tuple(" SunOS" , kSolaris ),
55+ #if OPENTELEMETRY_VERSION_MAJOR == 1 && OPENTELEMETRY_VERSION_MINOR < 22
5556 std::make_tuple (" OS/390" , kZOs ),
57+ #else
58+ std::make_tuple (" OS/390" , kZos ),
59+ #endif
5660 std::make_tuple (" UNKNOWN" , " UNKNOWN" )
5761 )
5862);
You can’t perform that action at this time.
0 commit comments