From a18b2ee534f1c47336c2ce18584676a376e7e29f Mon Sep 17 00:00:00 2001 From: Josh Coalson Date: Wed, 24 Jan 2001 23:35:25 +0000 Subject: [PATCH] add fallback for when VERSION is not set --- include/FLAC/format.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/FLAC/format.h b/include/FLAC/format.h index fafa553..37987a1 100644 --- a/include/FLAC/format.h +++ b/include/FLAC/format.h @@ -36,8 +36,12 @@ #define FLAC__MAX_FIXED_ORDER (4u) #define FLAC__MAX_RICE_PARTITION_ORDER (15u) -/* VERSION comes from configure */ +/* VERSION should come from configure */ +#ifdef VERSION #define FLAC__VERSION_STRING VERSION +#else +#define FLAC__VERSION_STRING "DEVEL" +#endif extern const byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */; extern const unsigned FLAC__STREAM_SYNC; /* = 0x664C6143 */; -- 2.7.4