improve portability of unit test code for windows compilers
This commit is contained in:
@ -9,6 +9,11 @@
|
||||
#include "fmtlib_format.cpp"
|
||||
#include "fmtlib_os.cpp"
|
||||
|
||||
// Windows may define this as a macro
|
||||
#if defined(max)
|
||||
#undef max
|
||||
#endif
|
||||
|
||||
TEST(ErrorStats, test)
|
||||
{
|
||||
ErrorStats stats;
|
||||
|
||||
Reference in New Issue
Block a user