Skip to content

Commit

Permalink
Refs #20821. Avoid min / max macros on ReaderProxyTests.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <miguelcompany@eprosima.com>
  • Loading branch information
MiguelCompany authored and elianalf committed May 30, 2024
1 parent 382220e commit 1214bd9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/unittest/rtps/writer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ add_executable(ReaderProxyTests ${WRITERPROXYTESTS_SOURCE})
target_compile_definitions(ReaderProxyTests PRIVATE
BOOST_ASIO_STANDALONE
ASIO_STANDALONE
$<$<BOOL:${MSVC}>:NOMINMAX> # avoid conflict with std::min & std::max in visual studio
$<$<AND:$<NOT:$<BOOL:${WIN32}>>,$<STREQUAL:"${CMAKE_BUILD_TYPE}","Debug">>:__DEBUG>
$<$<BOOL:${INTERNAL_DEBUG}>:__INTERNALDEBUG> # Internal debug activated.
)
Expand Down

0 comments on commit 1214bd9

Please sign in to comment.