From 779b82c098ad31e5d2d3403c69070455df25017d Mon Sep 17 00:00:00 2001 From: "Stephan T. Lavavej" Date: Thu, 11 May 2023 15:59:25 -0700 Subject: [PATCH] Avoid redefining macros. (#9154) --- src/cli_main.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/cli_main.cc b/src/cli_main.cc index 2ab2a2c20..9507e6e89 100644 --- a/src/cli_main.cc +++ b/src/cli_main.cc @@ -4,9 +4,6 @@ * \brief The command line interface program of xgboost. * This file is not included in dynamic library. */ -#define _CRT_SECURE_NO_WARNINGS -#define _CRT_SECURE_NO_DEPRECATE - #if !defined(NOMINMAX) && defined(_WIN32) #define NOMINMAX #endif // !defined(NOMINMAX)