Skip to content

Commit

Permalink
Don't include inside the mlpack namespace.
Browse files Browse the repository at this point in the history
A downstream user may try to re-include execinfo and get very confused when it silently fails.
  • Loading branch information
rcurtin committed Mar 24, 2015
1 parent 98fd81b commit bff92b7
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions CMake/backtrace.h.in
@@ -1,13 +1,15 @@
/**
* @file backtrace.hpp
*
* Configuration file that includes backtrace headers (if they exist on this
* system), auto-generated by CMake.
*/
#ifndef __MLPACK_CORE_UTIL_BACKTRACE_HPP
#define __MLPACK_CORE_UTIL_BACKTRACE_HPP

namespace mlpack {

#cmakedefine01 Backtrace_FOUND
#if Backtrace_FOUND
#include <@Backtrace_HEADER@>
#endif

}; //namespace mlpack

#endif

0 comments on commit bff92b7

Please sign in to comment.