Commit 400b6736 authored by hartman's avatar hartman

mmap: Don't use mmap by default on OS X.

It has little benefits in general, (esp. in our usecase) and huge disadvantages for files on network mounts.
"Basically, IOKit should be so fast and efficient, that there are few usecases left for mmap() on Darwin."
parent 9d699ba6
......@@ -58,8 +58,11 @@ vlc_module_begin();
set_capability ("access", 52);
add_shortcut ("file");
set_callbacks (Open, Close);
#ifdef __APPLE__
add_bool ("file-mmap", false, NULL,
add_bool ("file-mmap", true, NULL,
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