Skip to content

Commit

Permalink
OrcLib: Logger: fix typo on ORC_BUILD_BOOST_STACKTRACE
Browse files Browse the repository at this point in the history
  • Loading branch information
fabienfl-orc committed Nov 20, 2020
1 parent 1c23b12 commit 6f148c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OrcLib/Log/Logger.cpp
Expand Up @@ -19,7 +19,7 @@

#include <spdlog/logger.h>

#ifdef ORC_BUILD_BOOSTSTACK_TRACE
#ifdef ORC_BUILD_BOOST_STACKTRACE
# include <boost/stacktrace.hpp>
#endif

Expand Down Expand Up @@ -76,7 +76,7 @@ Logger::Logger(std::initializer_list<std::pair<Facility, std::shared_ptr<spdlog:
spdlog::set_error_handler([](const std::string& msg) {
std::cerr << msg << std::endl;

#ifdef ORC_BUILD_BOOSTSTACK_TRACE
#ifdef ORC_BUILD_BOOST_STACKTRACE
std::cerr << "Stack trace:" << std::endl;
std::cerr << boost::stacktrace::stacktrace();
#endif
Expand Down

0 comments on commit 6f148c9

Please sign in to comment.