diff --git a/test/chrono-test.cc b/test/chrono-test.cc index b27710ca5dca..6e77b6190b6c 100644 --- a/test/chrono-test.cc +++ b/test/chrono-test.cc @@ -5,7 +5,7 @@ // // For the license information refer to format.h. -#ifdef WIN32 +#ifndef _CRT_SECURE_NO_WARNINGS # define _CRT_SECURE_NO_WARNINGS #endif