[vlc-commits] mmap: don't enable this by default on Darwin

Felix Paul Kühne git at videolan.org
Fri Mar 18 21:34:46 CET 2011


vlc/vlc-1.1 | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Fri Mar 18 19:48:11 2011 +0100| [c18a619d9e17764968345cd7e9483153e01aa7e2] | committer: Felix Paul Kühne

mmap: don't enable this by default on Darwin

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c18a619d9e17764968345cd7e9483153e01aa7e2
---

 modules/access/mmap.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/modules/access/mmap.c b/modules/access/mmap.c
index 2a59155..c27f048 100644
--- a/modules/access/mmap.c
+++ b/modules/access/mmap.c
@@ -57,13 +57,8 @@ 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 *);



More information about the vlc-commits mailing list