From 9bb7d969624862f9f33cc1b5708c48a0f9b8aecf Mon Sep 17 00:00:00 2001 From: Christoph 'baka0815' Schwerdtfeger Date: Sun, 23 Sep 2018 15:27:57 +0200 Subject: [PATCH] CHD/FLAC: surround flac.c with #ifdef --- core/deps/chdr/flac.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/deps/chdr/flac.c b/core/deps/chdr/flac.c index 8e31ed6b7..359ef9e41 100644 --- a/core/deps/chdr/flac.c +++ b/core/deps/chdr/flac.c @@ -1,3 +1,4 @@ +#if defined(CHD5_FLAC) /* license:BSD-3-Clause * copyright-holders:Aaron Giles *************************************************************************** @@ -329,3 +330,4 @@ FLAC__StreamDecoderWriteStatus flac_decoder_write_callback(void *client_data, co void flac_decoder_error_callback_static(const FLAC__StreamDecoder *decoder, FLAC__StreamDecoderErrorStatus status, void *client_data) { } +#endif // CHD5_FLAC \ No newline at end of file