From f44ec040cc3c7a544c218de7b72f33c0de77863f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo?= Date: Thu, 23 Jul 2026 00:57:59 -0300 Subject: [PATCH] Various build fixes. (#302) * Fix Windows build by adding __PRFCHWINTRIN_H. * Update RecompFrontend for include order fixes. * Move definition to top level. --- CMakeLists.txt | 5 ++++- lib/RecompFrontend | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66e82dd..f868b10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -43,7 +43,10 @@ endif() set(RT64_STATIC TRUE) set(RT64_SDL_WINDOW_VULKAN TRUE) -add_compile_definitions(HLSL_CPU) +add_compile_definitions( + HLSL_CPU + __PRFCHWINTRIN_H +) if (RECOMP_FLATPAK) add_compile_definitions(RECOMP_FLATPAK) diff --git a/lib/RecompFrontend b/lib/RecompFrontend index b3b7ebb..d0d90ba 160000 --- a/lib/RecompFrontend +++ b/lib/RecompFrontend @@ -1 +1 @@ -Subproject commit b3b7ebb4ec1a8a763c0191486f1b3329f9499a48 +Subproject commit d0d90ba49f46f4896aaeda362056c21b1e342561