Skip to content

Commit

Permalink
__debugbreak was introduced in Microsoft Visual Studio 2003
Browse files Browse the repository at this point in the history
  • Loading branch information
madebr authored and icculus committed Jan 9, 2025
1 parent c8f3f1b commit ebaa30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/SDL3/SDL_assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit ebaa30d

Please sign in to comment.