diff --git a/include/LightGBM/utils/common.h b/include/LightGBM/utils/common.h index 3f3762e293ac..dd71782fb1ae 100644 --- a/include/LightGBM/utils/common.h +++ b/include/LightGBM/utils/common.h @@ -2,8 +2,8 @@ * Copyright (c) 2016 Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See LICENSE file in the project root for license information. */ -#ifndef LIGHTGBM_UTILS_COMMON_FUN_H_ -#define LIGHTGBM_UTILS_COMMON_FUN_H_ +#ifndef LIGHTGBM_UTILS_COMMON_H_ +#define LIGHTGBM_UTILS_COMMON_H_ #if ((defined(sun) || defined(__sun)) && (defined(__SVR4) || defined(__svr4__))) #include @@ -1227,4 +1227,4 @@ inline static std::string ArrayToString(const std::vector& arr, size_t n) { } // namespace LightGBM -#endif // LightGBM_UTILS_COMMON_FUN_H_ +#endif // LIGHTGBM_UTILS_COMMON_H_ diff --git a/include/LightGBM/utils/common_legacy_solaris.h b/include/LightGBM/utils/common_legacy_solaris.h index 9c1dacc09976..97f977108fc6 100644 --- a/include/LightGBM/utils/common_legacy_solaris.h +++ b/include/LightGBM/utils/common_legacy_solaris.h @@ -6,8 +6,8 @@ * This file is meant to be used ONLY IN SOLARIS! * The newer code that replaced it is faster and safe regarding locale! */ -#ifndef LIGHTGBM_UTILS_COMMON_FUN_LEGACY_SOLARIS_H_ -#define LIGHTGBM_UTILS_COMMON_FUN_LEGACY_SOLARIS_H_ +#ifndef LIGHTGBM_UTILS_COMMON_LEGACY_SOLARIS_H_ +#define LIGHTGBM_UTILS_COMMON_LEGACY_SOLARIS_H_ #include @@ -157,4 +157,4 @@ ArrayToString(const std::vector& arr, size_t n) { } // namespace LightGBM -#endif // LIGHTGBM_UTILS_COMMON_FUN_LEGACY_SOLARIS_H_ +#endif // LIGHTGBM_UTILS_COMMON_LEGACY_SOLARIS_H_