Skip to content

Commit 38df23b

Browse files
committed
fix mingw build
1 parent 34798d5 commit 38df23b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/common/portability.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
void shd_platform_specific_terminal_init_extras(void) {
1919
#ifdef WIN32
20+
#ifdef _MSC_VER
2021
_set_abort_behavior(0, _WRITE_ABORT_MSG | _CALL_REPORTFAULT);
22+
#endif
2123
#if defined(__MINGW32__)
2224
// Fix for allowing terminal colors on MINGW64
2325
// See: https://gist.github.com/fleroviux/8343879d95a72140274535dc207f467d

0 commit comments

Comments
 (0)