include/SDL_assert.h
changeset 5491 abdd970a65a8
parent 5262 b530ef003506
child 5535 96594ac5fd1a
     1.1 --- a/include/SDL_assert.h	Mon Mar 14 23:16:05 2011 -0700
     1.2 +++ b/include/SDL_assert.h	Tue Mar 15 19:37:38 2011 -0700
     1.3 @@ -51,7 +51,8 @@
     1.4  */
     1.5  
     1.6  #if defined(_MSC_VER) && !defined(_WIN32_WCE)
     1.7 -#include <intrin.h>
     1.8 +/* Don't include intrin.h here because it contains C++ code */
     1.9 +extern void __cdecl __debugbreak(void);
    1.10      #define SDL_TriggerBreakpoint() __debugbreak()
    1.11  #elif (defined(__GNUC__) && ((__i386__) || (__x86_64__)))
    1.12      #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )