From 273d8865e31659f69528623754c1742b2819ad26 Mon Sep 17 00:00:00 2001 From: denchat <19730041+denchat@users.noreply.github.com> Date: Fri, 9 Apr 2021 01:56:35 +0700 Subject: [PATCH] Suppress redef warning of _CRT_SECURE_NO_WARNINGS if any. (#2218) --- test/chrono-test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/chrono-test.cc b/test/chrono-test.cc index b27710ca..6e77b619 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