summaryrefslogtreecommitdiff
path: root/include/my_dbug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/my_dbug.h')
-rw-r--r--include/my_dbug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_dbug.h b/include/my_dbug.h
index 9ae482005b9..09ccb6102fc 100644
--- a/include/my_dbug.h
+++ b/include/my_dbug.h
@@ -139,7 +139,7 @@ extern int (*dbug_sanity)(void);
#define DBUG_ABORT() (_db_flush_(),\
(void)_CrtSetReportMode(_CRT_ERROR, _CRTDBG_MODE_FILE),\
(void)_CrtSetReportFile(_CRT_ERROR, _CRTDBG_FILE_STDERR),\
- _exit(3))
+ TerminateProcess(GetCurrentProcess(),3))
#endif
/*