[rts] do not expose post_mmap_madvise on macOS

This function is not used and thus produces unnecessary warnings.
parent 7fcd6808
Pipeline #821 passed with stages
in 234 minutes and 46 seconds
......@@ -157,6 +157,7 @@ linux_retry_mmap(int operation, W_ size, void *ret, void *addr, int prot, int fl
}
#endif /* defined(linux_HOST_OS) */
#if !defined(darwin_HOST_OS)
static void
post_mmap_madvise(int operation, W_ size, void *ret)
{
......@@ -174,6 +175,7 @@ post_mmap_madvise(int operation, W_ size, void *ret)
}
#endif
}
#endif /* !defined(darwin_HOST_OS) */
/* Returns NULL on failure; errno set */
static void *
......
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