mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-25 10:43:19 -03: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
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
#include <QString>
|
||||
#include <functional>
|
||||
|
||||
#include <windef.h> // for HWND
|
||||
#include <windows.h>
|
||||
|
||||
#include <QAbstractNativeEventFilter>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue