From 83b261ae83fa39cc331696f121fd30ffe3b2b3c6 Mon Sep 17 00:00:00 2001
From: Cameron Cawley <[EMAIL REDACTED]>
Date: Mon, 7 Apr 2025 18:17:10 +0100
Subject: [PATCH] Remove unused message box includes
---
src/video/SDL_video.c | 28 ----------------------------
1 file changed, 28 deletions(-)
diff --git a/src/video/SDL_video.c b/src/video/SDL_video.c
index a9d91a479c63b..db2637bce13c6 100644
--- a/src/video/SDL_video.c
+++ b/src/video/SDL_video.c
@@ -5623,34 +5623,6 @@ int SDL_GetMessageBoxCount(void)
return SDL_GetAtomicInt(&SDL_messagebox_count);
}
-#ifdef SDL_VIDEO_DRIVER_ANDROID
-#include "android/SDL_androidmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_WINDOWS
-#include "windows/SDL_windowsmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_COCOA
-#include "cocoa/SDL_cocoamessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_UIKIT
-#include "uikit/SDL_uikitmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_WAYLAND
-#include "wayland/SDL_waylandmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_X11
-#include "x11/SDL_x11messagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_HAIKU
-#include "haiku/SDL_bmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_RISCOS
-#include "riscos/SDL_riscosmessagebox.h"
-#endif
-#ifdef SDL_VIDEO_DRIVER_VITA
-#include "vita/SDL_vitamessagebox.h"
-#endif
-
bool SDL_ShowMessageBox(const SDL_MessageBoxData *messageboxdata, int *buttonID)
{
int dummybutton;