From 0d1a3539ad1d5fba353daf7bb4b08c6d8cbe83e6 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Mon, 31 Dec 2007 00:54:32 +0000 Subject: fix builds that only have FLAC >= 1.1.3 but not Ogg-Vorbis git-svn-id: https://svn.musicpd.org/mpd/trunk@7108 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/inputPlugins/_flac_common.h | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/inputPlugins/_flac_common.h') diff --git a/src/inputPlugins/_flac_common.h b/src/inputPlugins/_flac_common.h index df96d9f9c..94f9cd1db 100644 --- a/src/inputPlugins/_flac_common.h +++ b/src/inputPlugins/_flac_common.h @@ -80,15 +80,13 @@ typedef unsigned flac_read_status_size_t; # ifdef HAVE_OGGFLAC # include # endif -#else /* FLAC_API_VERSION_CURRENT >= 7 */ +#else /* FLAC_API_VERSION_CURRENT > 7 */ - /* OggFLAC support is handled by our flac_plugin already, and - * thus we *can* always have it if libFLAC was compiled with it */ -# ifndef HAVE_OGGFLAC -# define HAVE_OGGFLAC 1 -# endif +/* + * OggFLAC support is handled by our flac_plugin already, and + * thus we *can* always have it if libFLAC was compiled with it + */ # include "_ogg_common.h" -# undef HAVE_OGGFLAC /* we don't need this defined anymore */ # include # define flac_decoder FLAC__StreamDecoder -- cgit v1.2.3