Mercurial > mplayer.hg
changeset 22725:ba2b70a80acc
Conditionally compile af_export instead of having #ifdef around the file.
author | diego |
---|---|
date | Mon, 19 Mar 2007 10:13:33 +0000 |
parents | bf2711ae4cbe |
children | c07c6ed4902d |
files | libaf/Makefile libaf/af_export.c |
diffstat | 2 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libaf/Makefile Mon Mar 19 00:10:38 2007 +0000 +++ b/libaf/Makefile Mon Mar 19 10:13:33 2007 +0000 @@ -9,7 +9,6 @@ af_delay.c \ af_dummy.c \ af_equalizer.c \ - af_export.c \ af_extrastereo.c \ af_format.c \ af_gate.c \ @@ -31,6 +30,7 @@ SRCS_COMMON-$(CONFIG_LIBAVCODEC) += af_lavcresample.c SRCS_COMMON-$(CONFIG_LIBAVCODEC_SO) += af_lavcresample.c +SRCS_COMMON-$(HAVE_SYS_MMAN_H) += af_export.c ifeq ($(TARGET_OS),MINGW32) CFLAGS += -D_IO_H_
--- a/libaf/af_export.c Mon Mar 19 00:10:38 2007 +0000 +++ b/libaf/af_export.c Mon Mar 19 10:13:33 2007 +0000 @@ -14,7 +14,6 @@ #include <unistd.h> #include "config.h" -#ifdef HAVE_SYS_MMAN_H #include <sys/types.h> #include <sys/mman.h> #include <sys/types.h> @@ -263,5 +262,3 @@ AF_FLAGS_REENTRANT, af_open }; - -#endif /*HAVE_SYS_MMAN_H*/