SDL_net: SDLnetsys.h: update from SDL-1.2 branch for windows socklen_t type (a2866)

From a2866efca3c06b307cfc96c9dd1bff1285f5448f Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 23 Apr 2025 17:10:40 +0300
Subject: [PATCH] SDLnetsys.h: update from SDL-1.2 branch for windows socklen_t
 type

I doubt that we'd hit this in SDL2 branch, though.
---
 src/SDLnetsys.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/SDLnetsys.h b/src/SDLnetsys.h
index 186a426..eaa7d60 100644
--- a/src/SDLnetsys.h
+++ b/src/SDLnetsys.h
@@ -72,6 +72,8 @@
 
 #ifdef __OS2__
 typedef int socklen_t;
+#elif defined(__USE_W32_SOCKETS) && !defined(IP_MSFILTER_SIZE)
+typedef int socklen_t;
 #elif 0
 /* FIXME: What platforms need this? */
 typedef Uint32 socklen_t;