summaryrefslogtreecommitdiff
path: root/packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch')
-rw-r--r--packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch b/packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch
new file mode 100644
index 0000000..62f238e
--- /dev/null
+++ b/packaging/0031-Fix-build-break-with-older-VS-versions-16522.patch
@@ -0,0 +1,37 @@
+From 23ab0b67eec1cc89a17cbdf745c433bab38b9506 Mon Sep 17 00:00:00 2001
+From: Jan Kotas <jkotas@microsoft.com>
+Date: Fri, 23 Feb 2018 00:17:45 -0800
+Subject: [PATCH 31/32] Fix build break with older VS versions (#16522)
+
+---
+ src/vm/methodtable.h | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/vm/methodtable.h b/src/vm/methodtable.h
+index c2c2564..9dc24d8 100644
+--- a/src/vm/methodtable.h
++++ b/src/vm/methodtable.h
+@@ -2168,7 +2168,7 @@ public:
+ #endif
+ }
+
+- inline static bool IsParentMethodTableTagged(PTR_MethodTable pMT)
++ inline static BOOL IsParentMethodTableTagged(PTR_MethodTable pMT)
+ {
+ LIMITED_METHOD_CONTRACT;
+ TADDR base = dac_cast<TADDR>(pMT) + offsetof(MethodTable, m_pParentMethodTable);
+@@ -2178,9 +2178,9 @@ public:
+ bool GetFlagHasIndirectParent()
+ {
+ #ifdef FEATURE_PREJIT
+- return GetFlag(enum_flag_HasIndirectParent);
++ return !!GetFlag(enum_flag_HasIndirectParent);
+ #else
+- return FALSE;
++ return false;
+ #endif
+ }
+
+--
+2.7.4
+