fix version test in compat, yeay
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 19 Oct 2002 14:24:09 +0000 (14:24 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 19 Oct 2002 14:24:09 +0000 (14:24 +0000)
Original commit message from CVS:
fix version test in compat, yeay

ext/flac/flac_compat.h

index 0635925..4de2b6d 100644 (file)
@@ -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