mirror of
https://github.com/mpv-player/mpv
synced 2025-02-19 22:36:55 +00:00
Move conditional compilation of cdinfo.c to the build system.
patch by Emanuele Giaquinta, emanuele . giaquinta #at# gmail . com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19293 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d4b05b8312
commit
5fb3bfb2a9
@ -13,11 +13,10 @@ SRCS += cache2.c
|
||||
endif
|
||||
|
||||
# Miscellaneous
|
||||
SRCS += cdinfo.c \
|
||||
cue_read.c \
|
||||
SRCS += cue_read.c \
|
||||
|
||||
ifeq ($(CDDA),yes)
|
||||
SRCS += stream_cdda.c
|
||||
SRCS += stream_cdda.c cdinfo.c
|
||||
ifeq ($(MPLAYER_NETWORK),yes)
|
||||
SRCS += stream_cddb.c
|
||||
endif
|
||||
|
@ -6,8 +6,6 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#if defined(HAVE_CDDA)
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
@ -133,5 +131,3 @@ cd_info_debug(cd_info_t *cd_info) {
|
||||
}
|
||||
printf("================ CD INFO === end =========\n");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user