File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ CPPTRACE_BEGIN_NAMESPACE
65
65
}
66
66
67
67
// dbghelp
68
- #ifdef _MSC_VER
68
+ #ifdef _WIN32
69
69
CPPTRACE_EXPORT void load_symbols_for_file (const std::string& filename);
70
70
#endif
71
71
CPPTRACE_END_NAMESPACE
Original file line number Diff line number Diff line change @@ -103,5 +103,7 @@ CPPTRACE_BEGIN_NAMESPACE
103
103
export using cpptrace::experimental::set_dwarf_resolver_disable_aranges;
104
104
}
105
105
106
- export using cpptrace::load_symbols_for_file;
106
+ #ifdef _WIN32
107
+ export using cpptrace::load_symbols_for_file;
108
+ #endif
107
109
CPPTRACE_END_NAMESPACE
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ CPPTRACE_BEGIN_NAMESPACE
90
90
std::set_terminate (terminate_handler);
91
91
}
92
92
93
- #if defined(_MSC_VER ) && !defined(CPPTRACE_GET_SYMBOLS_WITH_DBGHELP)
93
+ #if defined(_WIN32 ) && !defined(CPPTRACE_GET_SYMBOLS_WITH_DBGHELP)
94
94
void load_symbols_for_file (const std::string&) {
95
95
// nop
96
96
}
You can’t perform that action at this time.
0 commit comments