diff --git a/test/custom-formatter-test.cc b/test/custom-formatter-test.cc index d33b12f5..968cce2b 100644 --- a/test/custom-formatter-test.cc +++ b/test/custom-formatter-test.cc @@ -5,6 +5,12 @@ // // For the license information refer to format.h. +#ifdef _MSC_VER +# ifndef _CRT_SECURE_NO_WARNINGS +# define _CRT_SECURE_NO_WARNINGS +# endif +#endif + #include "fmt/format.h" #include "gtest-extra.h"