Commit 9bd48643 authored by Ben Gamari's avatar Ben Gamari 🐢
Browse files

rts: Fix unused function

parent 5e103a1e
...@@ -249,10 +249,11 @@ my_mmap (void *addr, W_ size, int operation) ...@@ -249,10 +249,11 @@ my_mmap (void *addr, W_ size, int operation)
if (ret == MAP_FAILED) { if (ret == MAP_FAILED) {
return NULL; return NULL;
} }
#endif /* defined(darwin_HOST_OS) */
// Map in committed pages rather than take a fault for each chunk. // Map in committed pages rather than take a fault for each chunk.
// Also arrange to include them in core-dump files. // Also arrange to include them in core-dump files.
post_mmap_madvise(operation, size, ret); post_mmap_madvise(operation, size, ret);
#endif /* defined(darwin_HOST_OS) */
return ret; return ret;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment