mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 23:11:49 +08:00
ff6d107460
* [angle]Fix windows build error: cannot find definition far. * [Angle]Re-fix build error.
31 lines
728 B
Diff
31 lines
728 B
Diff
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>
|
|
|