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 9e7f3802..06359252 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
-#ifdef FLAC__STREAM_ENCODER_OK
+#ifndef FLAC__STREAM_ENCODER_WRITE_OK
#define FLAC_VERSION 0x010004
#else
#ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE