Avoid the Windows abort dialog

This commit is contained in:
Andrea Mazzoleni 2015-12-19 08:20:51 +01:00
parent d5c0a8c2f3
commit 4d52890c32

View file

@ -264,7 +264,8 @@ void os_abort(void)
for (i=0; i<size; ++i)
printf("[bt] %02u: %p\n", i, stack[i]);
abort();
/* use exit() and not abort to avoid the Windows abort dialog */
exit(EXIT_FAILURE);
}
/**