File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
Core/Libraries/Source/WWVegas/WWLib Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 2222DbgHelpLoader* DbgHelpLoader::Inst = NULL ;
2323
2424DbgHelpLoader::DbgHelpLoader ()
25- : m_miniDumpWriteDump(NULL )
26- , m_symInitialize(NULL )
25+ : m_symInitialize(NULL )
26+ #ifdef RTS_ENABLE_CRASHDUMP
27+ , m_miniDumpWriteDump(NULL )
28+ #endif
2729 , m_symCleanup(NULL )
2830 , m_symLoadModule(NULL )
2931 , m_symUnloadModule(NULL )
@@ -87,7 +89,9 @@ bool DbgHelpLoader::load()
8789 Inst->m_loadedFromSystem = true ;
8890 }
8991
92+ #ifdef RTS_ENABLE_CRASHDUMP
9093 Inst->m_miniDumpWriteDump = reinterpret_cast <MiniDumpWriteDump_t>(::GetProcAddress (Inst->m_dllModule , " MiniDumpWriteDump" ));
94+ #endif
9195 Inst->m_symInitialize = reinterpret_cast <SymInitialize_t>(::GetProcAddress (Inst->m_dllModule , " SymInitialize" ));
9296 Inst->m_symCleanup = reinterpret_cast <SymCleanup_t>(::GetProcAddress (Inst->m_dllModule , " SymCleanup" ));
9397 Inst->m_symLoadModule = reinterpret_cast <SymLoadModule_t>(::GetProcAddress (Inst->m_dllModule , " SymLoadModule" ));
You can’t perform that action at this time.
0 commit comments