diff include/SDL_assert.h @ 5088:c2539ff054c8

Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
author Sam Lantinga <slouken@libsdl.org>
date Mon, 24 Jan 2011 15:46:11 -0800
parents d306007299ac
children b530ef003506
line wrap: on
line diff
--- a/include/SDL_assert.h	Mon Jan 24 15:10:16 2011 -0800
+++ b/include/SDL_assert.h	Mon Jan 24 15:46:11 2011 -0800
@@ -50,7 +50,7 @@
 assert can have unique static variables associated with it.
 */
 
-#if defined(_MSC_VER)
+#if defined(_MSC_VER) && !defined(_WIN32_WCE)
 #include <intrin.h>
     #define SDL_TriggerBreakpoint() __debugbreak()
 #elif (defined(__GNUC__) && ((__i386__) || (__x86_64__)))