Skip to content

Commit

Permalink
Fix build after #5593 (#5665)
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany authored Feb 25, 2025
1 parent b3401c8 commit 827f68e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unittest/dds/participant/ParticipantTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1090,9 +1090,9 @@ void set_easy_mode_environment_variable(
)
{
#ifdef _WIN32
ASSERT_EQ(0, _putenv_s(rtps::EASY_MODE_URI, ip.c_str()));
ASSERT_EQ(0, _putenv_s(rtps::ROS2_EASY_MODE_URI, ip.c_str()));
#else
ASSERT_EQ(0, setenv(rtps::EASY_MODE_URI, ip.c_str(), 1));
ASSERT_EQ(0, setenv(rtps::ROS2_EASY_MODE_URI, ip.c_str(), 1));
#endif // _WIN32
}

Expand Down

0 comments on commit 827f68e

Please sign in to comment.