fix version test in compat, yeay

Original commit message from CVS:
fix version test in compat, yeay
This commit is contained in:
Thomas Vander Stichele 2002-10-19 14:24:09 +00:00
parent 1fb7034b10
commit 2e2f753071

View file

@ -13,7 +13,7 @@
/* FIXME when there's a autoconf symbol */ /* FIXME when there's a autoconf symbol */
#ifndef FLAC_VERSION #ifndef FLAC_VERSION
#ifndef FLAC__STREAM_ENCODER_WRITE_OK #ifdef FLAC__STREAM_ENCODER_WRITE_ERROR /* added in 1.0.4 */
#define FLAC_VERSION 0x010004 #define FLAC_VERSION 0x010004
#else #else
#ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE #ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE