From 14beaec1d9e89c7876e6e6686b5f0bc071887ea7 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 9 Mar 2024 18:29:35 +0200 Subject: [PATCH] [SHELLBTRFS] Prevent redeclaration of __cpuidex with newer mingw-w64 headers --- dll/shellext/shellbtrfs/recv.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dll/shellext/shellbtrfs/recv.cpp b/dll/shellext/shellbtrfs/recv.cpp index 673df5c42fb..a1e09591043 100644 --- a/dll/shellext/shellbtrfs/recv.cpp +++ b/dll/shellext/shellbtrfs/recv.cpp @@ -27,6 +27,9 @@ #ifndef _MSC_VER +#ifdef __REACTOS__ +#define __cpuidex __cpuidex_ // prevent redeclaration +#endif #include #else #include