Avoid redefining macros. (#9154)

This commit is contained in:
Stephan T. Lavavej 2023-05-11 15:59:25 -07:00 committed by GitHub
parent 603f8ce2fa
commit 779b82c098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,6 @@
* \brief The command line interface program of xgboost. * \brief The command line interface program of xgboost.
* This file is not included in dynamic library. * This file is not included in dynamic library.
*/ */
#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_DEPRECATE
#if !defined(NOMINMAX) && defined(_WIN32) #if !defined(NOMINMAX) && defined(_WIN32)
#define NOMINMAX #define NOMINMAX
#endif // !defined(NOMINMAX) #endif // !defined(NOMINMAX)