-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0001-VS2019-compatibility.patch
54 lines (47 loc) · 1.64 KB
/
0001-VS2019-compatibility.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
From 9763350276c1732a13193598f4952d261209183d Mon Sep 17 00:00:00 2001
From: Sebastian Hartte <[email protected]>
Date: Sun, 1 Aug 2021 19:26:10 +0200
Subject: [PATCH] VS2019 compatibility
---
src/common/windows/pe_util.cc | 1 +
src/tools/windows/converter_exe/converter.gyp | 5 +++++
src/tools/windows/dump_syms/dump_syms.cc | 1 +
3 files changed, 7 insertions(+)
diff --git a/src/common/windows/pe_util.cc b/src/common/windows/pe_util.cc
index 9c94af05..dea9b911 100644
--- a/src/common/windows/pe_util.cc
+++ b/src/common/windows/pe_util.cc
@@ -35,6 +35,7 @@
#include <ImageHlp.h>
#include <functional>
+#include <memory>
#include "common/windows/string_utils-inl.h"
#include "common/windows/guid_string.h"
diff --git a/src/tools/windows/converter_exe/converter.gyp b/src/tools/windows/converter_exe/converter.gyp
index fe443d1b..0be5a3ef 100644
--- a/src/tools/windows/converter_exe/converter.gyp
+++ b/src/tools/windows/converter_exe/converter.gyp
@@ -34,6 +34,11 @@
{
'target_name': 'converter_exe',
'type': 'executable',
+ 'link_settings': {
+ 'libraries' : [
+ 'pathcch.lib'
+ ]
+ },
'sources': [
'converter.cc',
'escaping.cc',
diff --git a/src/tools/windows/dump_syms/dump_syms.cc b/src/tools/windows/dump_syms/dump_syms.cc
index 1b1797dc..0211ae6e 100644
--- a/src/tools/windows/dump_syms/dump_syms.cc
+++ b/src/tools/windows/dump_syms/dump_syms.cc
@@ -34,6 +34,7 @@
#include <wchar.h>
#include <string>
+#include <memory>
#include "common/windows/pdb_source_line_writer.h"
#include "common/windows/pe_source_line_writer.h"
--
2.27.0.windows.1