include/SDL_assert.h
changeset 5011 d306007299ac
parent 3697 f7b03b6838cb
child 5086 c2539ff054c8
     1.1 --- a/include/SDL_assert.h	Mon Jan 17 13:42:24 2011 -0800
     1.2 +++ b/include/SDL_assert.h	Mon Jan 17 13:52:40 2011 -0800
     1.3 @@ -50,8 +50,9 @@
     1.4  assert can have unique static variables associated with it.
     1.5  */
     1.6  
     1.7 -#if (defined(_MSC_VER) && ((_M_IX86) || (_M_X64)))
     1.8 -    #define SDL_TriggerBreakpoint() __asm { int 3 }
     1.9 +#if defined(_MSC_VER)
    1.10 +#include <intrin.h>
    1.11 +    #define SDL_TriggerBreakpoint() __debugbreak()
    1.12  #elif (defined(__GNUC__) && ((__i386__) || (__x86_64__)))
    1.13      #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
    1.14  #elif defined(HAVE_SIGNAL_H)