We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f36297e commit 88df3feCopy full SHA for 88df3fe
runtime/vm/virtual_memory.h
@@ -116,9 +116,9 @@ class VirtualMemory {
116
// Assumes
117
// * `this` has RX protection and is codesigned.
118
// * `target` has RW protection, and is at least as large as `this`.
119
-#if defined(DART_TARGET_OS_MACOS)
+#if defined(DART_HOST_OS_MACOS)
120
bool DuplicateRX(VirtualMemory* target);
121
-#endif // defined(DART_TARGET_OS_MACOS)
+#endif // defined(DART_HOST_OS_MACOS)
122
123
// Returns the cached page size. Use only if Init() has been called.
124
static intptr_t PageSize() {
0 commit comments