Avoid problems with CppUnit's macros when doing unity builds
This commit is contained in:
parent
ce31de2c6f
commit
a4be8a56d1
|
@ -14,6 +14,12 @@
|
||||||
#define CPP_UTILITIES_HAS_EXEC_APP
|
#define CPP_UTILITIES_HAS_EXEC_APP
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// ensure CppUnit's macros produce unique variable names when doing unity builds
|
||||||
|
#if defined(__COUNTER__)
|
||||||
|
#undef CPPUNIT_UNIQUE_COUNTER
|
||||||
|
#define CPPUNIT_UNIQUE_COUNTER __COUNTER__
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace CppUtilities {
|
namespace CppUtilities {
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Loading…
Reference in New Issue