[MPlayer-cvslog] r21269 - trunk/osdep/mmap_anon.c
reimar
subversion at mplayerhq.hu
Sun Nov 26 14:55:55 CET 2006
Author: reimar
Date: Sun Nov 26 14:55:55 2006
New Revision: 21269
Modified:
trunk/osdep/mmap_anon.c
Log:
Disable when HAVE_SYS_MMAN_H is not defined, since it can not be compiled then.
Modified: trunk/osdep/mmap_anon.c
==============================================================================
--- trunk/osdep/mmap_anon.c (original)
+++ trunk/osdep/mmap_anon.c Sun Nov 26 14:55:55 2006
@@ -2,6 +2,8 @@
* \file mmap_anon.c
* \brief Provide a compatible anonymous space mapping function
*/
+#include "config.h"
+#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#include <stdio.h>
@@ -62,3 +64,4 @@
return result;
}
+#endif /* HAVE_SYS_MMAN_H */
More information about the MPlayer-cvslog
mailing list