SDL_TriggerBreakpoint() will default to __debugbreak() on MinGW toolchain on windows

(cherry picked from commit f4c124e4bf)
This commit is contained in:
Mohamed Shazan authored and Sam Lantinga committed 2025-08-08 16:21:15 -07:00
1 parent b5bc6d2cc4
commit 7b3796bc39
1 file changed
+1 -1
+1 -1
View File
@@ -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()