From 48f286334c3fcff033752791ef11197690cfc663 Mon Sep 17 00:00:00 2001 From: Eric Warmenhoven Date: Wed, 30 Oct 2024 21:38:17 -0400 Subject: [PATCH] libretro: win32 build fix --- include/align.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/align.hpp b/include/align.hpp index 6b79a6564..2f9a33dbb 100644 --- a/include/align.hpp +++ b/include/align.hpp @@ -7,7 +7,7 @@ #include "helpers.hpp" -#ifdef _MSC_VER +#ifdef _WIN32 #include #endif @@ -77,7 +77,7 @@ namespace Common { } ALWAYS_INLINE static void* alignedMalloc(size_t size, size_t alignment) { -#ifdef _MSC_VER +#ifdef _WIN32 return _aligned_malloc(size, alignment); #else // Unaligned sizes are slow on macOS. @@ -96,4 +96,4 @@ namespace Common { free(ptr); #endif } -} // namespace Common \ No newline at end of file +} // namespace Common