vcpkg/ports/realm-core/UWP_index_set.patch
Kai Pastor e9bd3fd9bc
[realm-core] Update to 14.8.0, cleanup, fix (#39043)
- Fix openssl dependency setup, treat ios like osx
- Fix zlib dependency setup (canonical cmake/vcpkg)
- Fix build for emscripten
- Fix use of ambiguous CMake variables (for
https://github.com/microsoft/vcpkg/pull/34546)
- Carry third-party notices

Out of scope: De-vendoring bundled deps.
2024-06-02 23:13:24 -07:00

14 lines
548 B
Diff

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