diff options
| author | JackBoosY <yuzaiyang@beyondsoft.com> | 2020-01-13 23:55:59 -0800 |
|---|---|---|
| committer | JackBoosY <yuzaiyang@beyondsoft.com> | 2020-01-13 23:55:59 -0800 |
| commit | 2514481b42ebdeec28649582fc666955cf206c84 (patch) | |
| tree | 60c9809a5c3c8adbad240a40b1088a6f8e42c019 /ports/angle/002-fix-builder-error.patch | |
| parent | b751326c91c9a307aaf5e340b61ab9f2d1ad45a4 (diff) | |
| parent | 28eee51adb36f2165be846e77ef7b3ee5b3f8789 (diff) | |
| download | vcpkg-2514481b42ebdeec28649582fc666955cf206c84.tar.gz vcpkg-2514481b42ebdeec28649582fc666955cf206c84.zip | |
Merge branch 'master' of https://github.com/Microsoft/vcpkg into dev/jack/upgrade_libi
Diffstat (limited to 'ports/angle/002-fix-builder-error.patch')
| -rw-r--r-- | ports/angle/002-fix-builder-error.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/ports/angle/002-fix-builder-error.patch b/ports/angle/002-fix-builder-error.patch new file mode 100644 index 000000000..db70f9fdc --- /dev/null +++ b/ports/angle/002-fix-builder-error.patch @@ -0,0 +1,30 @@ +diff --git a/src/gpu_info_util/SystemInfo_win.cpp b/src/gpu_info_util/SystemInfo_win.cpp +index 878f0f5..2255982 100644 +--- a/src/gpu_info_util/SystemInfo_win.cpp ++++ b/src/gpu_info_util/SystemInfo_win.cpp +@@ -4,6 +4,12 @@ + // found in the LICENSE file. + // + ++// Windows.h needs to be included first ++#include <windows.h> ++ ++#include <d3d10.h> ++#include <dxgi.h> ++ + // SystemInfo_win.cpp: implementation of the Windows-specific parts of SystemInfo.h + + #include "gpu_info_util/SystemInfo_internal.h" +@@ -11,12 +17,6 @@ + #include "common/debug.h" + #include "common/string_utils.h" + +-// Windows.h needs to be included first +-#include <windows.h> +- +-#include <d3d10.h> +-#include <dxgi.h> +- + #include <array> + #include <sstream> + |
