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