From 2a1b617fb24c3c01a0d4ad51c1bf72459cf9feb0 Mon Sep 17 00:00:00 2001 From: "Timothee \"TTimo\" Besset" Date: Fri, 21 Feb 2025 11:47:23 -0700 Subject: [PATCH] Update include/SDL3/SDL_assert.h Co-authored-by: Sam Lantinga --- include/SDL3/SDL_assert.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_assert.h b/include/SDL3/SDL_assert.h index bc7f112247..36efeaeee2 100644 --- a/include/SDL3/SDL_assert.h +++ b/include/SDL3/SDL_assert.h @@ -150,7 +150,7 @@ extern "C" { #elif defined(_WIN32) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__arm64__) || defined(__aarch64__)) ) #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "brk #0xF000\n\t" ) #elif defined(SDL_PLATFORM_LINUX) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__arm64__) || defined(__aarch64__)) ) - #define SDL_TriggerBreakpoint() __builtin_trap() /* older arm linux environments may miss the SDL_HAS_BUILTIN(__builtin_trap) above */ + #define SDL_TriggerBreakpoint() __builtin_trap() /* older gcc may not support SDL_HAS_BUILTIN(__builtin_trap) above */ #elif defined(__386__) && defined(__WATCOMC__) #define SDL_TriggerBreakpoint() { _asm { int 0x03 } } #elif defined(HAVE_SIGNAL_H) && !defined(__WATCOMC__)