Mercurial > mplayer.hg
comparison libaf/af_export.c @ 10908:dcca52fe32bd
disable af export for systems without mmap
author | faust3 |
---|---|
date | Sun, 21 Sep 2003 12:16:16 +0000 |
parents | 2167ac4c1d72 |
children | 2f30dad6f490 |
comparison
equal
deleted
inserted
replaced
10907:d4ec1e1c8dc8 | 10908:dcca52fe32bd |
---|---|
10 #include <stdio.h> | 10 #include <stdio.h> |
11 #include <stdlib.h> | 11 #include <stdlib.h> |
12 #include <string.h> | 12 #include <string.h> |
13 #include <inttypes.h> | 13 #include <inttypes.h> |
14 #include <unistd.h> | 14 #include <unistd.h> |
15 #include "../config.h" | |
16 | |
17 #ifdef HAVE_SYS_MMAN_H | |
15 #include <sys/types.h> | 18 #include <sys/types.h> |
16 #include <sys/mman.h> | 19 #include <sys/mman.h> |
17 #include <sys/types.h> | 20 #include <sys/types.h> |
18 #include <sys/stat.h> | 21 #include <sys/stat.h> |
19 #include <fcntl.h> | 22 #include <fcntl.h> |
259 "Anders; Gustavo Sverzut Barbieri <gustavo.barbieri@ic.unicamp.br>", | 262 "Anders; Gustavo Sverzut Barbieri <gustavo.barbieri@ic.unicamp.br>", |
260 "", | 263 "", |
261 AF_FLAGS_REENTRANT, | 264 AF_FLAGS_REENTRANT, |
262 af_open | 265 af_open |
263 }; | 266 }; |
267 | |
268 #endif /*HAVE_SYS_MMAN_H*/ |