diff --git a/test/chrono-test.cc b/test/chrono-test.cc index 70ff0a98..6e77b619 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -5,10 +5,8 @@ // // For the license information refer to format.h. -#ifdef WIN32 -# ifndef _CRT_SECURE_NO_WARNINGS -# define _CRT_SECURE_NO_WARNINGS -# endif +#ifndef _CRT_SECURE_NO_WARNINGS +# define _CRT_SECURE_NO_WARNINGS #endif #include "fmt/chrono.h"