include/SDL_assert.h
changeset 5552 2167a41feefe
parent 5541 b63f1383f8c9
child 5625 0a9b94c0613c
--- a/include/SDL_assert.h	Sat Jun 04 15:26:02 2011 -0400
+++ b/include/SDL_assert.h	Mon Jun 06 12:20:04 2011 -0400
@@ -53,7 +53,7 @@
 /* Don't include intrin.h here because it contains C++ code */
 extern void __cdecl __debugbreak(void);
     #define SDL_TriggerBreakpoint() __debugbreak()
-#elif (defined(__GNUC__) && ((__i386__) || (__x86_64__)))
+#elif (defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__)))
     #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
 #elif defined(HAVE_SIGNAL_H)
     #include <signal.h>
@@ -63,7 +63,7 @@
     #define SDL_TriggerBreakpoint()
 #endif
 
-#if (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 supports __func__ as a standard. */
 #   define SDL_FUNCTION __func__
 #elif ((__GNUC__ >= 2) || defined(_MSC_VER))
 #   define SDL_FUNCTION __FUNCTION__