Skip to content

Commit

Permalink
Change header guards
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertoEAF committed Nov 24, 2020
1 parent ae71901 commit 9aeba44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions include/LightGBM/utils/common.h
Expand Up @@ -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 <LightGBM/utils/common_legacy_solaris.h>
Expand Down Expand Up @@ -1227,4 +1227,4 @@ inline static std::string ArrayToString(const std::vector<T>& arr, size_t n) {

} // namespace LightGBM

#endif // LightGBM_UTILS_COMMON_FUN_H_
#endif // LIGHTGBM_UTILS_COMMON_H_
6 changes: 3 additions & 3 deletions include/LightGBM/utils/common_legacy_solaris.h
Expand Up @@ -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 <LightGBM/utils/log.h>

Expand Down Expand Up @@ -157,4 +157,4 @@ ArrayToString(const std::vector<T>& arr, size_t n) {

} // namespace LightGBM

#endif // LIGHTGBM_UTILS_COMMON_FUN_LEGACY_SOLARIS_H_
#endif // LIGHTGBM_UTILS_COMMON_LEGACY_SOLARIS_H_

0 comments on commit 9aeba44

Please sign in to comment.