1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00

Conditionally compile af_export instead of having #ifdef around the file.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22743 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-03-19 10:13:33 +00:00
parent 6c4d007414
commit 4fb6bd2843
2 changed files with 1 additions and 4 deletions

View File

@ -9,7 +9,6 @@ SRCS_COMMON = af.c \
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 = af.c \
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_

View File

@ -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_info_t af_info_export = {
AF_FLAGS_REENTRANT,
af_open
};
#endif /*HAVE_SYS_MMAN_H*/