sdl2-compat: SDL_config.h: Add a #warning if we don't recognise the platform

From f4abaea268893ad8b67acdb732d8cd20b3072feb Mon Sep 17 00:00:00 2001
From: Simon McVittie <[EMAIL REDACTED]>
Date: Tue, 4 Feb 2025 19:58:17 +0000
Subject: [PATCH] SDL_config.h: Add a #warning if we don't recognise the
 platform

SDL_config_minimal.h is rather minimal, and we probably don't want anyone
to actually be relying on it.

Signed-off-by: Simon McVittie <smcv@collabora.com>
---
 include/SDL2/SDL_config.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/SDL2/SDL_config.h b/include/SDL2/SDL_config.h
index 2a1f4bb..2023be2 100644
--- a/include/SDL2/SDL_config.h
+++ b/include/SDL2/SDL_config.h
@@ -51,6 +51,7 @@
 #include "SDL_config_unix.h"
 #else
 /* This is a minimal configuration just to get SDL running on new platforms. */
+#warning SDL_config.h might be incomplete, good luck
 #include "SDL_config_minimal.h"
 #endif /* platform config */