mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-24 05:29:12 +00:00
__debugbreak was introduced in Microsoft Visual Studio 2003
This commit is contained in:
parent
c8f3f1b461
commit
ebaa30d339
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue