From afe30686045992f09902c1d11347bee9cf87adbd Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 02:12:30 +0000
Subject: [PATCH] bump SDL2 includes to 2.0.14
---
include/SDL2/SDL_assert.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/SDL2/SDL_assert.h b/include/SDL2/SDL_assert.h
index 21bdad9..f8a368e 100644
--- a/include/SDL2/SDL_assert.h
+++ b/include/SDL2/SDL_assert.h
@@ -53,6 +53,8 @@
#define SDL_TriggerBreakpoint() __debugbreak()
#elif ( (!defined(__NACL__)) && ((defined(__GNUC__) || defined(__clang__)) && (defined(__i386__) || defined(__x86_64__))) )
#define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "int $3\n\t" )
+#elif ( defined(__APPLE__) && defined(__arm64__) ) /* this might work on other ARM targets, but this is a known quantity... */
+ #define SDL_TriggerBreakpoint() __asm__ __volatile__ ( "brk #22\n\t" )
#elif defined(__386__) && defined(__WATCOMC__)
#define SDL_TriggerBreakpoint() { _asm { int 0x03 } }
#elif defined(HAVE_SIGNAL_H) && !defined(__WATCOMC__)
--
Gitblit v1.9.3