From 3425e9950e27e6e774cbb828532e20a91947e0f2 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Wed, 30 Mar 2022 10:12:49 -0400
Subject: [PATCH] stdinc: SDL_COMPILE_TIME_ASSERT defines shouldn't have a
semicolon.
---
include/SDL_stdinc.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index 4554f9e71a4..6ddb9775ac9 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -355,9 +355,9 @@ typedef uint64_t Uint64;
#endif /* SDL_DISABLE_ANALYZE_MACROS */
#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)
-#define SDL_COMPILE_TIME_ASSERT(name, x) _Static_assert(x, #x);
+#define SDL_COMPILE_TIME_ASSERT(name, x) _Static_assert(x, #x)
#elif defined(__cplusplus) && (__cplusplus >= 201103L)
-#define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x);
+#define SDL_COMPILE_TIME_ASSERT(name, x) static_assert(x, #x)
#else /* universal, but may trigger -Wunused-local-typedefs */
#define SDL_COMPILE_TIME_ASSERT(name, x) \
typedef int SDL_compile_time_assert_ ## name[(x) * 2 - 1]