diff options
author | David Schleef <ds@schleef.org> | 2002-10-20 00:51:51 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2002-10-20 00:51:51 +0000 |
commit | caa0c1b8e70966495b3de55d90dbad271b0abd0b (patch) | |
tree | a6b50635aa5eeb76c17956388d81f3d6e4529251 /ext | |
parent | d4a5f0b64567fbf93b66b53e5f9169c0f56467fa (diff) |
Another iteration. Tested and compiles on 1.0.2, 1.0.3, 1.0.4
Original commit message from CVS:
Another iteration. Tested and compiles on 1.0.2, 1.0.3, 1.0.4
Diffstat (limited to 'ext')
-rw-r--r-- | ext/flac/flac_compat.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/flac/flac_compat.h b/ext/flac/flac_compat.h index 4de2b6d2..87b5b864 100644 --- a/ext/flac/flac_compat.h +++ b/ext/flac/flac_compat.h @@ -8,12 +8,15 @@ #ifndef _FLAC_COMPAT_H_ #define _FLAC_COMPAT_H_ +#ifndef VERSION +#define VERSION bogus +#endif #include <FLAC/all.h> /* FIXME when there's a autoconf symbol */ #ifndef FLAC_VERSION -#ifdef FLAC__STREAM_ENCODER_WRITE_ERROR /* added in 1.0.4 */ +#ifndef FLAC__VERSION_STRING /* removed in 1.0.4 */ #define FLAC_VERSION 0x010004 #else #ifdef FLAC__REFERENCE_CODEC_MAX_BITS_PER_SAMPLE @@ -25,6 +28,7 @@ #endif /* !defined(FLAC_VERSION) */ + #if FLAC_VERSION < 0x010004 #define FLAC__STREAM_ENCODER_OK FLAC__STREAM_ENCODER_WRITE_OK #define FLAC__seekable_stream_decoder_process_single(a) \ |