Mercurial > mplayer.hg
comparison loader/dshow/DS_VideoDecoder.c @ 33412:2a2e9b6551d8
configure: Convert HAVE_SYS_MMAN_H into a 0/1 definition.
FFmpeg/Libav uses it as a 0/1 definition, so adapt MPlayer to do the same.
author | diego |
---|---|
date | Tue, 24 May 2011 19:51:38 +0000 |
parents | 914208d188b9 |
children | 389d43c448b3 |
comparison
equal
deleted
inserted
replaced
33411:320890c90a8a | 33412:2a2e9b6551d8 |
---|---|
37 | 37 |
38 #include <unistd.h> | 38 #include <unistd.h> |
39 #include <fcntl.h> | 39 #include <fcntl.h> |
40 #include <errno.h> | 40 #include <errno.h> |
41 #include <sys/types.h> | 41 #include <sys/types.h> |
42 #ifdef HAVE_SYS_MMAN_H | 42 #if HAVE_SYS_MMAN_H |
43 #include <sys/mman.h> | 43 #include <sys/mman.h> |
44 #endif | 44 #endif |
45 #include <stdio.h> | 45 #include <stdio.h> |
46 #include <stdlib.h> // labs | 46 #include <stdlib.h> // labs |
47 | 47 |