mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-25 00:11:28 +02:00
qt: Avoid non-self-contained Windows header
Using the `windows.h` header guarantees correctness regardless of the content of other headers. For more details, please refer to https://stackoverflow.com/questions/4845198/fatal-error-no-target-architecture-in-visual-studio Fixes the MSVC build when using the upcoming CMake-based build system and Qt packages installed via the vcpkg package manager.
This commit is contained in:
parent
03752444cd
commit
8023640a71
@ -10,7 +10,7 @@
|
||||
#include <QString>
|
||||
#include <functional>
|
||||
|
||||
#include <windef.h> // for HWND
|
||||
#include <windows.h>
|
||||
|
||||
#include <QAbstractNativeEventFilter>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user