add fallback for when VERSION is not set
authorJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 24 Jan 2001 23:35:25 +0000 (23:35 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Wed, 24 Jan 2001 23:35:25 +0000 (23:35 +0000)
include/FLAC/format.h

index fafa553..37987a1 100644 (file)
 #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 */;