__debugbreak was introduced in Microsoft Visual Studio 2003

This commit is contained in:
Anonymous Maarten 2025-01-09 03:26:36 +01:00 committed by Ryan C. Gordon
parent c8f3f1b461
commit ebaa30d339

View file

@ -127,7 +127,7 @@ extern "C" {
*/
#define SDL_TriggerBreakpoint() TriggerABreakpointInAPlatformSpecificManner
#elif defined(_MSC_VER)
#elif 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()