unittests: fix x86_gcc2 build issues

This commit is contained in:
Kacper Kasper
2026-01-24 12:02:56 +01:00
parent 43131098dd
commit 17c18c1b0d
2 changed files with 5 additions and 1 deletions
@@ -18,9 +18,10 @@ BListItem* gExpected[16];
int gIndex = 0;
int gCount = 0;
namespace CppUnit {
template<>
struct CppUnit::assertion_traits<BListItem*>
struct assertion_traits<BListItem*>
{
static bool equal(const BListItem* x, const BListItem* y) {
return x == y;
@@ -33,6 +34,8 @@ struct CppUnit::assertion_traits<BListItem*>
}
};
}
BListItem*
CheckExpected(BListItem* item, void* arg)