SDL_net: Allow compiling for Emscripten

From 6623e846d93e0e7474877c21380aef852aac7e18 Mon Sep 17 00:00:00 2001
From: Sam Lantinga <[EMAIL REDACTED]>
Date: Sun, 15 Mar 2026 02:50:12 -0700
Subject: [PATCH] Allow compiling for Emscripten

The network interface functionality needs to be implemented, but at least we can compile and link.
---
 src/SDL_net.c | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/src/SDL_net.c b/src/SDL_net.c
index 0f344836..4e699d27 100644
--- a/src/SDL_net.c
+++ b/src/SDL_net.c
@@ -783,7 +783,19 @@ static void RefreshInterfaces(void)  // LINUX/BSD VERSION
 }
 
 #else
-#error implement me for your platform.
+#warning implement me for your platform.
+static bool InitInterfaceChangeNotifications(void)
+{
+    return true;
+}
+
+static void QuitInterfaceChangeNotifications(void)
+{
+}
+
+static void RefreshInterfaces(void)
+{
+}
 #endif