Skip to content

Commit 88df3fe

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[vm] Fix host-mac target-linux build.
TEST=ci Cq-Include-Trybots: luci.dart.try:dart-sdk-mac-arm64-try,dart-sdk-mac-try,pkg-mac-release-arm64-try,pkg-mac-release-try Change-Id: I8d827b5ee0ef9a0c25c9d09c2ea989dbb18fa2ea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/435443 Reviewed-by: Derek Xu <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent f36297e commit 88df3fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/vm/virtual_memory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ class VirtualMemory {
116116
// Assumes
117117
// * `this` has RX protection and is codesigned.
118118
// * `target` has RW protection, and is at least as large as `this`.
119-
#if defined(DART_TARGET_OS_MACOS)
119+
#if defined(DART_HOST_OS_MACOS)
120120
bool DuplicateRX(VirtualMemory* target);
121-
#endif // defined(DART_TARGET_OS_MACOS)
121+
#endif // defined(DART_HOST_OS_MACOS)
122122

123123
// Returns the cached page size. Use only if Init() has been called.
124124
static intptr_t PageSize() {

0 commit comments

Comments
 (0)