Commit 15071afc authored by Felix Paul Kühne's avatar Felix Paul Kühne

mmap: default enable the module on Darwin

parent 50ffc440
......@@ -58,8 +58,13 @@ vlc_module_begin ()
set_capability ("access", 52)
add_shortcut ("file")
set_callbacks (Open, Close)
#ifdef __APPLE__
add_bool ("file-mmap", true, NULL,
FILE_MMAP_TEXT, FILE_MMAP_LONGTEXT, true)
#else
add_bool ("file-mmap", false, NULL,
FILE_MMAP_TEXT, FILE_MMAP_LONGTEXT, true)
#endif
vlc_module_end ()
static block_t *Block (access_t *);
......
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