mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-10 07:11:54 +00:00
No Minidump for debug builds
This commit is contained in:
parent
d91edda475
commit
287a48d77b
1 changed files with 2 additions and 2 deletions
|
@ -924,7 +924,7 @@ int mainRadiant( int argc, char* argv[] ) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined( _WIN32 ) && defined( _MSC_VER )
|
#if defined( _WIN32 ) && defined( _MSC_VER ) && !defined( _DEBUG )
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
#include <shellapi.h>
|
#include <shellapi.h>
|
||||||
#include <shlobj.h>
|
#include <shlobj.h>
|
||||||
|
@ -967,7 +967,7 @@ int GenerateDump( EXCEPTION_POINTERS* pExceptionPointers ) {
|
||||||
|
|
||||||
int main( int argc, char* argv[] ) {
|
int main( int argc, char* argv[] ) {
|
||||||
|
|
||||||
#if defined( _WIN32 ) && defined( _MSC_VER )
|
#if defined( _WIN32 ) && defined( _MSC_VER ) && !defined( _DEBUG )
|
||||||
__try {
|
__try {
|
||||||
return mainRadiant( argc, argv );
|
return mainRadiant( argc, argv );
|
||||||
} __except( GenerateDump( GetExceptionInformation() ) ) {
|
} __except( GenerateDump( GetExceptionInformation() ) ) {
|
||||||
|
|
Loading…
Reference in a new issue