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:
parent
6c4d007414
commit
4fb6bd2843
@ -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_
|
||||
|
@ -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*/
|
||||
|
Loading…
Reference in New Issue
Block a user