Prepare for improving Windows networking compatibility. (#8234)
* Prepare for improving Windows networking compatibility. * Include dmlc filesystem indirectly as dmlc/filesystem.h includes windows.h, which conflicts with winsock2.h * Define `NOMINMAX` conditionally. * Link the winsock library when mysys32 is used. * Add config file for read the doc.
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
/*!
|
||||
* Copyright 2019 XGBoost contributors
|
||||
*/
|
||||
#include <gtest/gtest.h>
|
||||
|
||||
#include <dmlc/filesystem.h>
|
||||
#include <dmlc/io.h>
|
||||
|
||||
#include <xgboost/version_config.h>
|
||||
#include <xgboost/json.h>
|
||||
#include <gtest/gtest.h>
|
||||
#include <xgboost/base.h>
|
||||
#include <xgboost/json.h>
|
||||
#include <xgboost/version_config.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "../../../src/common/version.h"
|
||||
#include "../filesystem.h" // dmlc::TemporaryDirectory
|
||||
|
||||
namespace xgboost {
|
||||
TEST(Version, Basic) {
|
||||
|
||||
Reference in New Issue
Block a user