diff --git a/src/Exception.hpp b/src/Exception.hpp index 983d09e..9a5bb0c 100644 --- a/src/Exception.hpp +++ b/src/Exception.hpp @@ -65,6 +65,7 @@ namespace ArbUt { #endif } +#if !WINDOWS private: static void AppendNoSourceStack(std::stringstream& ss, const backward::ResolvedTrace& trace, bool include_addr) { @@ -101,6 +102,7 @@ namespace ArbUt { ss << fileName << "[" << trace.source.line << "] " << function << std::endl; } }; +#endif } #endif // ARBUTILS_EXCEPTION_HPP