From 6a4327529c5f5980c7cf21377da8fc60cbe2675d 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/vrclient_x64/json_converter.cpp | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp index 8f377fcd..41f4021d 100644 --- a/steam_helper/steam.cpp +++ b/steam_helper/steam.cpp @@ -34,10 +34,14 @@ #include "ntstatus.h" #define WIN32_NO_STATUS +extern "C" { #include +} #include #include +extern "C" { #include +} #include #include #include diff --git a/vrclient_x64/vrclient_x64/json_converter.cpp b/vrclient_x64/vrclient_x64/json_converter.cpp index fac49d29..f45af786 100644 --- a/vrclient_x64/vrclient_x64/json_converter.cpp +++ b/vrclient_x64/vrclient_x64/json_converter.cpp @@ -1,11 +1,15 @@ #include #include +extern "C" { #include #include +} #undef wcsncpy +extern "C" { #include +} #include WINE_DEFAULT_DEBUG_CHANNEL(vrclient); -- 2.42.0