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:
1 parent
d4b05b8312
commit
5fb3bfb2a9
2 files changed
+2
-7
No files matched your search
+2
-3
@@ -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
|
||||
Reference in new issue
Block a user