Commit d4ef3156 authored by i3v's avatar i3v Committed by Guolin Ke
Browse files

Fix __func__ is not defined in MSVS2013 (#819)

parent c3c1708c
......@@ -28,6 +28,10 @@ std::function<void(const std::vector<std::pair<int, double>>&, double* output)>;
#define NO_SPECIFIC (-1)
#if (_MSC_VER <= 1800)
#define __func__ __FUNCTION__
#endif
} // namespace LightGBM
#endif // LightGBM_META_H_
#ifndef LIGHTGBM_METRIC_XENTROPY_METRIC_HPP_
#define LIGHTGBM_METRIC_XENTROPY_METRIC_HPP_
#include <LightGBM/meta.h>
#include <LightGBM/utils/log.h>
#include <LightGBM/utils/common.h>
......
#ifndef LIGHTGBM_OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#define LIGHTGBM_OBJECTIVE_XENTROPY_OBJECTIVE_HPP_
#include <LightGBM/meta.h>
#include <LightGBM/utils/common.h>
#include <LightGBM/objective_function.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment