SDL_image: test/main.c: SDLTest_CommonLogUsage needs SDL 2.0.10

From f2e03e15027e481a6b81757d4eacc95665d6b81e Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 25 May 2022 17:58:30 +0200
Subject: [PATCH] test/main.c: SDLTest_CommonLogUsage needs SDL 2.0.10

---
 test/main.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/test/main.c b/test/main.c
index c946f52..45b7d3b 100644
--- a/test/main.c
+++ b/test/main.c
@@ -1033,8 +1033,13 @@ main(int argc, char *argv[])
             }
         }
         if (consumed < 0) {
+
+#if SDL_VERSION_ATLEAST(2, 0, 10)
             static const char *options[] = { "[--iterations #]", "[--execKey #]", "[--seed string]", "[--filter suite_name|test_name]", NULL };
             SDLTest_CommonLogUsage(state, argv[0], options);
+#else
+            SDLTest_CommonUsage(state);
+#endif
             quit(1);
         }