src: remove GTEST_DONT_DEFINE_ASSERT_EQ in util.h
As indicated by the FIXME comment, this macro guard is no longer needed. PR-URL: https://github.com/nodejs/node/pull/12638 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
e927809eec
commit
5bb06e8596
@ -124,14 +124,6 @@ template <typename T> using remove_reference = std::remove_reference<T>;
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
// FIXME(bnoordhuis) cctests don't link in node::Abort() and node::Assert().
|
||||
#ifdef GTEST_DONT_DEFINE_ASSERT_EQ
|
||||
#undef ABORT
|
||||
#undef CHECK
|
||||
#define ABORT ABORT_NO_BACKTRACE
|
||||
#define CHECK assert
|
||||
#endif
|
||||
|
||||
#ifdef NDEBUG
|
||||
#define ASSERT(expr)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user