# SDL: Update include/SDL3/SDL\_assert.h (fa380)

**URL:** <https://discourse.libsdl.org/t/sdl-update-include-sdl3-sdl-assert-h-fa380/58050>\
**Category:** SDL Commits\
**Created:** [February 21, 2025, 7:08pm UTC](https://discourse.libsdl.org/t/sdl-update-include-sdl3-sdl-assert-h-fa380/58050 "2025-02-21T19:08:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDLPushPostBot](https://discourse.libsdl.org/user_avatar/discourse.libsdl.org/sdlpushpostbot/32/4370_2.png) [@SDLPushPostBot](https://discourse.libsdl.org/u/SDLPushPostBot)\
**Post date:** [February 21, 2025, 7:08pm UTC](https://discourse.libsdl.org/t/sdl-update-include-sdl3-sdl-assert-h-fa380/58050/1 "2025-02-21T19:08:17Z")

</div>

> <https://github.com/libsdl-org/SDL/commit/fa380a4004f7cff72134af2adfe25b4d17fdaf64>
>
> Co-authored-by: Sam Lantinga \<slouken@libsdl.org\>

```diff
From fa380a4004f7cff72134af2adfe25b4d17fdaf64 Mon Sep 17 00:00:00 2001
From: "Timothee \"TTimo\" Besset" <[EMAIL REDACTED]>
Date: Fri, 21 Feb 2025 11:47:28 -0700
Subject: [PATCH] Update include/SDL3/SDL_assert.h

Co-authored-by: Sam Lantinga <slouken@libsdl.org>
---
 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 36efeaeee25de..6c90acc0290c9 100644
--- a/include/SDL3/SDL_assert.h
+++ b/include/SDL3/SDL_assert.h
@@ -149,7 +149,7 @@ extern "C" {
     #define SDL_TriggerBreakpoint() __asm__  __volatile__ ( "bkpt #22\n\t" )
 #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__ )) )
+#elif defined( __GNUC__ ) || defined( __clang__ )
     #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 } }

```
