SDL-1.2: use _strdup instead of strdup for all win32, not just for wince.

From be74a7a89a5b004a03a04e3c4279d9068f88cfcd Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 29 Apr 2024 01:20:00 +0300
Subject: [PATCH] use _strdup instead of strdup for all win32, not just for
 wince.

---
 include/SDL_config_win32.h | 6 ------
 include/SDL_stdinc.h       | 4 +++-
 2 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/include/SDL_config_win32.h b/include/SDL_config_win32.h
index 93cf61f44..6d2ae2d67 100644
--- a/include/SDL_config_win32.h
+++ b/include/SDL_config_win32.h
@@ -131,12 +131,6 @@ typedef unsigned int uintptr_t;
 #define HAVE_STDDEF_H	1
 #endif
 
-/* Windows CE can support only _strdup() */
-#if defined(_WIN32_WCE) && defined(HAVE_STRDUP)
-#undef strdup
-#define strdup	_strdup
-#endif
-
 /* Enable various audio drivers */
 #ifndef _WIN32_WCE
 #define SDL_AUDIO_DRIVER_DSOUND	1
diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h
index 48af72004..e8e542f14 100644
--- a/include/SDL_stdinc.h
+++ b/include/SDL_stdinc.h
@@ -409,7 +409,9 @@ extern DECLSPEC size_t SDLCALL SDL_strlcpy(char *dst, const char *src, size_t ma
 extern DECLSPEC size_t SDLCALL SDL_strlcat(char *dst, const char *src, size_t maxlen);
 #endif
 
-#ifdef HAVE_STRDUP
+#if defined(HAVE_STRDUP) && defined(_WIN32)
+#define SDL_strdup    _strdup
+#elif defined(HAVE_STRDUP)
 #define SDL_strdup     strdup
 #else
 extern DECLSPEC char * SDLCALL SDL_strdup(const char *string);