Fix more compilation issues for XboxOne
authorJonas Echterhoff <jonas@unity3d.com>
Tue, 31 Jul 2018 14:07:26 +0000 (17:07 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Tue, 31 Jul 2018 21:21:42 +0000 (00:21 +0300)
commite8ed78567ec73dfa7f81c0d3bcacd8dd106565b0
tree93a9cfb1c7de0f1a97521dbaf041cbee411fe31c
parent8264a948e6e381d6a59b1da09cc4daedb6c75cd8
Fix more compilation issues for XboxOne
(part of commit c6e7e36 from Unity-Technologies/bdwgc)

Issue #173 (bdwgc).

* include/private/gc_priv.h [!CPPCHECK && !PCR && MSWIN_XBOX1
&& !DebugBreak] (DebugBreak): Define to __debugbreak.
* misc.c [MSWIN32] (GC_win32_MessageBoxA): Do not define if MSWIN_XBOX1.
* misc.c [!PCR && !SMALL_CONFIG && MSWIN32] (GC_default_on_abort): Do
not call GC_win32_MessageBoxA() if MSWINRT_FLAVOR or MSWIN_XBOX1.
include/private/gc_priv.h
misc.c