SDL: Fix multiple definitions of SDL_assert* when SDL_WIKI_DOCUMENTATION_SECTION is defined

From 35ebaf4a45a77cd2e0816013e4f518bf182c8700 Mon Sep 17 00:00:00 2001
From: Maia <[EMAIL REDACTED]>
Date: Sat, 31 Aug 2024 23:02:32 +0200
Subject: [PATCH] Fix multiple definitions of SDL_assert* when
 SDL_WIKI_DOCUMENTATION_SECTION is defined

---
 include/SDL3/SDL_assert.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/include/SDL3/SDL_assert.h b/include/SDL3/SDL_assert.h
index 96a47c85da61a..f5f798e2fed4f 100644
--- a/include/SDL3/SDL_assert.h
+++ b/include/SDL3/SDL_assert.h
@@ -366,10 +366,9 @@ extern SDL_DECLSPEC SDL_AssertState SDLCALL SDL_ReportAssertion(SDL_AssertData *
  * \since This macro is available since SDL 3.0.0.
  */
 #define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)
-#endif
 
 /* Enable various levels of assertions. */
-#if SDL_ASSERT_LEVEL == 0   /* assertions disabled */
+#elif SDL_ASSERT_LEVEL == 0   /* assertions disabled */
 #   define SDL_assert(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_release(condition) SDL_disabled_assert(condition)
 #   define SDL_assert_paranoid(condition) SDL_disabled_assert(condition)