Mercurial > mplayer.hg
comparison loader/dmo/DMO_VideoDecoder.c @ 26104:e5bce92eb572
Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.
author | diego |
---|---|
date | Sat, 01 Mar 2008 10:16:43 +0000 |
parents | 2c8cdb9123b8 |
children | f20a11161e62 |
comparison
equal
deleted
inserted
replaced
26103:128f089724d3 | 26104:e5bce92eb572 |
---|---|
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 #ifndef __MINGW32__ | 42 #ifdef 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 |