mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-15 10:47:52 +00:00
SDL_TriggerBreakpoint() will default to __debugbreak() on MinGW toolchain on windows
(cherry picked from commit f4c124e4bf)
This commit is contained in:
parent
b5bc6d2cc4
commit
7b3796bc39
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ extern "C" {
|
|||
*/
|
||||
#define SDL_TriggerBreakpoint() TriggerABreakpointInAPlatformSpecificManner
|
||||
|
||||
#elif defined(_MSC_VER) && _MSC_VER >= 1310
|
||||
#elif defined(__MINGW32__) || (defined(_MSC_VER) && _MSC_VER >= 1310)
|
||||
/* Don't include intrin.h here because it contains C++ code */
|
||||
extern void __cdecl __debugbreak(void);
|
||||
#define SDL_TriggerBreakpoint() __debugbreak()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue