SDL: Rename SDL_mslibc_x64.asm -> SDL_mslibc_x64.masm

From 5cbdeab7997809c517683efbcc0d563f19c9d326 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Thu, 4 Jan 2024 17:46:00 +0100
Subject: [PATCH] Rename SDL_mslibc_x64.asm -> SDL_mslibc_x64.masm

The .masm suffix should give meson sufficient info about the file
being MASM instead of NASM/YASM.
---
 CMakeLists.txt                                         | 2 +-
 VisualC-GDK/SDL/SDL.vcxproj                            | 2 +-
 VisualC-GDK/SDL/SDL.vcxproj.filters                    | 2 +-
 VisualC-WinRT/SDL-UWP.vcxproj                          | 2 +-
 VisualC-WinRT/SDL-UWP.vcxproj.filters                  | 2 +-
 VisualC/SDL/SDL.vcxproj                                | 2 +-
 VisualC/SDL/SDL.vcxproj.filters                        | 2 +-
 src/stdlib/{SDL_mslibc_x64.asm => SDL_mslibc_x64.masm} | 0
 8 files changed, 7 insertions(+), 7 deletions(-)
 rename src/stdlib/{SDL_mslibc_x64.asm => SDL_mslibc_x64.masm} (100%)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 74c2102b6163..5910154ad626 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -497,7 +497,7 @@ sdl_glob_sources(
 if(MSVC AND TARGET SDL3-shared)
   if(SDL_CPU_X64)
     enable_language(ASM_MASM)
-    set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_x64.asm")
+    set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_x64.masm")
     target_compile_options(SDL3-shared PRIVATE "$<$<COMPILE_LANGUAGE:ASM_MASM>:/nologo>")
     set_property(SOURCE "${asm_src}" PROPERTY LANGUAGE "ASM_MASM")
     target_sources(SDL3-shared PRIVATE "${asm_src}")
diff --git a/VisualC-GDK/SDL/SDL.vcxproj b/VisualC-GDK/SDL/SDL.vcxproj
index 7fe307986cd1..b7b5a72c02ff 100644
--- a/VisualC-GDK/SDL/SDL.vcxproj
+++ b/VisualC-GDK/SDL/SDL.vcxproj
@@ -733,7 +733,7 @@
     <ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
     <ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
     <ClCompile Include="..\..\src\stdlib\SDL_mslibc.c" />
-    <MASM Condition="'$(Platform)'=='x64'" Include="..\..\src\stdlib\SDL_mslibc_x64.asm" >
+    <MASM Condition="'$(Platform)'=='x64'" Include="..\..\src\stdlib\SDL_mslibc_x64.masm" >
       <PrecompiledHeader>NotUsing</PrecompiledHeader>
     </MASM>
     <ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
diff --git a/VisualC-GDK/SDL/SDL.vcxproj.filters b/VisualC-GDK/SDL/SDL.vcxproj.filters
index 08257eaf35f4..e9f4d52c5064 100644
--- a/VisualC-GDK/SDL/SDL.vcxproj.filters
+++ b/VisualC-GDK/SDL/SDL.vcxproj.filters
@@ -1397,7 +1397,7 @@
     <ClCompile Include="..\..\src\stdlib\SDL_mslibc.c">
       <Filter>stdlib</Filter>
     </ClCompile>
-    <MASM Include="..\..\src\stdlib\SDL_mslibc_x64.asm">
+    <MASM Include="..\..\src\stdlib\SDL_mslibc_x64.masm">
       <Filter>stdlib</Filter>
     </MASM>
     <ClCompile Include="..\..\src\core\gdk\SDL_gdk.cpp">
diff --git a/VisualC-WinRT/SDL-UWP.vcxproj b/VisualC-WinRT/SDL-UWP.vcxproj
index 2e1701a4d627..715c6020448c 100644
--- a/VisualC-WinRT/SDL-UWP.vcxproj
+++ b/VisualC-WinRT/SDL-UWP.vcxproj
@@ -419,7 +419,7 @@
     <ClCompile Include="..\src\stdlib\SDL_iconv.c" />
     <ClCompile Include="..\src\stdlib\SDL_malloc.c" />
     <ClCompile Include="..\src\stdlib\SDL_mslibc.c" />
-    <MASM Condition="'$(Platform)'=='x64'" Include="..\src\stdlib\SDL_mslibc_x64.asm" >
+    <MASM Condition="'$(Platform)'=='x64'" Include="..\src\stdlib\SDL_mslibc_x64.masm" >
       <PrecompiledHeader>NotUsing</PrecompiledHeader>
     </MASM>
     <ClCompile Include="..\src\stdlib\SDL_qsort.c" />
diff --git a/VisualC-WinRT/SDL-UWP.vcxproj.filters b/VisualC-WinRT/SDL-UWP.vcxproj.filters
index d92ce733801e..728fdbbcc1d3 100644
--- a/VisualC-WinRT/SDL-UWP.vcxproj.filters
+++ b/VisualC-WinRT/SDL-UWP.vcxproj.filters
@@ -899,7 +899,7 @@
     <ClCompile Include="..\src\stdlib\SDL_mslibc.c">
       <Filter>Source Files</Filter>
     </ClCompile>
-    <MASM Include="..\src\stdlib\SDL_mslibc_x64.asm">
+    <MASM Include="..\src\stdlib\SDL_mslibc_x64.masm">
       <Filter>stdlib</Filter>
     </MASM>
     <ClCompile Include="..\src\core\windows\pch.c">
diff --git a/VisualC/SDL/SDL.vcxproj b/VisualC/SDL/SDL.vcxproj
index 3f38d13f89f9..0b5345789220 100644
--- a/VisualC/SDL/SDL.vcxproj
+++ b/VisualC/SDL/SDL.vcxproj
@@ -613,7 +613,7 @@
     <ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
     <ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
     <ClCompile Include="..\..\src\stdlib\SDL_mslibc.c" />
-    <MASM Condition="'$(Platform)'=='x64'" Include="..\..\src\stdlib\SDL_mslibc_x64.asm" >
+    <MASM Condition="'$(Platform)'=='x64'" Include="..\..\src\stdlib\SDL_mslibc_x64.masm" >
       <PrecompiledHeader>NotUsing</PrecompiledHeader>
     </MASM>
     <ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
diff --git a/VisualC/SDL/SDL.vcxproj.filters b/VisualC/SDL/SDL.vcxproj.filters
index 6002a968c609..e53a8eb40d68 100644
--- a/VisualC/SDL/SDL.vcxproj.filters
+++ b/VisualC/SDL/SDL.vcxproj.filters
@@ -1387,7 +1387,7 @@
     <ClCompile Include="..\..\src\stdlib\SDL_mslibc.c">
       <Filter>stdlib</Filter>
     </ClCompile>
-    <MASM Include="..\..\src\stdlib\SDL_mslibc_x64.asm">
+    <MASM Include="..\..\src\stdlib\SDL_mslibc_x64.masm">
       <Filter>stdlib</Filter>
     </MASM>
   </ItemGroup>
diff --git a/src/stdlib/SDL_mslibc_x64.asm b/src/stdlib/SDL_mslibc_x64.masm
similarity index 100%
rename from src/stdlib/SDL_mslibc_x64.asm
rename to src/stdlib/SDL_mslibc_x64.masm