summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/flac/flac_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/flac/flac_compat.h b/ext/flac/flac_compat.h
index 06359252..4de2b6d2 100644
--- a/ext/flac/flac_compat.h
+++ b/ext/flac/flac_compat.h
@@ -13,7 +13,7 @@
/* FIXME when there's a autoconf symbol */
#ifndef FLAC_VERSION
-#ifndef FLAC__STREAM_ENCODER_WRITE_OK
+#ifdef FLAC__STREAM_ENCODER_WRITE_ERROR /* added in 1.0.4 */
#define FLAC_VERSION 0x010004
#else
#ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE