aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/realm-core/UWP_index_set.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/realm-core/UWP_index_set.patch')
-rw-r--r--vcpkg/ports/realm-core/UWP_index_set.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/vcpkg/ports/realm-core/UWP_index_set.patch b/vcpkg/ports/realm-core/UWP_index_set.patch
new file mode 100644
index 0000000..372f352
--- /dev/null
+++ b/vcpkg/ports/realm-core/UWP_index_set.patch
@@ -0,0 +1,13 @@
+diff --git a/src/realm/object-store/index_set.hpp b/src/realm/object-store/index_set.hpp
+index d61e78221..a95338967 100644
+--- a/src/realm/object-store/index_set.hpp
++++ b/src/realm/object-store/index_set.hpp
+@@ -387,7 +387,7 @@ inline ChunkedRangeVectorIterator<T> ChunkedRangeVectorIterator<T>::operator--(i
+ }
+
+ template <typename T>
+-#if REALM_WINDOWS && REALM_ARCHITECTURE_ARM64
++#if defined(_MSC_VER) && REALM_ARCHITECTURE_ARM64
+ // Inlining this function crashes msvc when targeting arm64 in as of 19.39.33523
+ __declspec(noinline)
+ #endif