mirror of https://github.com/libsdl-org/SDL.git
__debugbreak was introduced in Microsoft Visual Studio 2003
This commit is contained in:
parent
c8f3f1b461
commit
ebaa30d339
|
|
@ -127,7 +127,7 @@ extern "C" {
|
||||||
*/
|
*/
|
||||||
#define SDL_TriggerBreakpoint() TriggerABreakpointInAPlatformSpecificManner
|
#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 */
|
/* Don't include intrin.h here because it contains C++ code */
|
||||||
extern void __cdecl __debugbreak(void);
|
extern void __cdecl __debugbreak(void);
|
||||||
#define SDL_TriggerBreakpoint() __debugbreak()
|
#define SDL_TriggerBreakpoint() __debugbreak()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue