From 067a4ac679d571294882a1361b60d985b6fd5d91 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Tue, 11 Feb 2025 10:29:37 -0800
Subject: [PATCH] Updated UNIX check to match SDL_PLATFORM_UNIX in SDL3
---
include/SDL2/SDL_config.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/SDL2/SDL_config.h b/include/SDL2/SDL_config.h
index 2023be2c..e4682538 100644
--- a/include/SDL2/SDL_config.h
+++ b/include/SDL2/SDL_config.h
@@ -47,7 +47,7 @@
#include "SDL_config_emscripten.h"
#elif defined(__NGAGE__)
#include "SDL_config_ngage.h"
-#elif defined(__unix__)
+#elif defined(__unix__) || defined(__unix) || defined(unix)
#include "SDL_config_unix.h"
#else
/* This is a minimal configuration just to get SDL running on new platforms. */