From 87a579ed3760d19cd10e54334416d6d25e9d3bef Mon Sep 17 00:00:00 2001 From: Stelios Tsampas Date: Thu, 28 Sep 2023 14:16:04 +0300 Subject: [PATCH 6/6] AUR: Fix hwnd redefinition --- steam_helper/steam.cpp | 4 ++++ vrclient_x64/json_converter.cpp | 2 ++ 2 files changed, 6 insertions(+) diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index 59ac90c3..38e42b75 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -34,11 +34,15 @@ #include "ntstatus.h" #define WIN32_NO_STATUS +extern "C" { #include +} #include #include #include +extern "C" { #include +} #include #include #include diff --git a/vrclient_x64/json_converter.cpp b/vrclient_x64/json_converter.cpp index 7d6b4f66..c5533d79 100644 --- a/vrclient_x64/json_converter.cpp +++ b/vrclient_x64/json_converter.cpp @@ -3,8 +3,10 @@ #include "ntstatus.h" #define WIN32_NO_STATUS +extern "C" { #include "windef.h" #include "winbase.h" +} #undef min #undef max -- 2.44.0