fixes related to the change of FLAC__VERSION_STRING from a #define to an identifier
diff --git a/include/FLAC/format.h b/include/FLAC/format.h
index bf69313..6a56f83 100644
--- a/include/FLAC/format.h
+++ b/include/FLAC/format.h
@@ -120,22 +120,19 @@
 /** The maximum Rice partition order permitted by the format. */
 #define FLAC__MAX_RICE_PARTITION_ORDER (15u)
 
-/* VERSION should come from configure */
-#ifdef VERSION
-/** The version string of the current library.
+/** The version string of the release, stamped onto the libraries and binaries.
  *
  * \note
  * This does not correspond to the shared library version number, which
  * is used to determine binary compatibility.
  */
-#define FLAC__VERSION_STRING VERSION
-#endif
+extern const char *FLAC__VERSION_STRING;
 
 /** The vendor string inserted by the encoder into the VORBIS_COMMENT block.
  *  This is a nulL-terminated ASCII string; when inserted into the
  *  VORBIS_COMMENT the trailing null is stripped.
  */
-extern const FLAC__byte *FLAC__VENDOR_STRING;
+extern const char *FLAC__VENDOR_STRING;
 
 /** The byte string representation of the beginning of a FLAC stream. */
 extern const FLAC__byte FLAC__STREAM_SYNC_STRING[4]; /* = "fLaC" */
diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index 6db6fea..5a61f4c 100644
--- a/src/libFLAC/format.c
+++ b/src/libFLAC/format.c
@@ -28,11 +28,14 @@
 #endif
 #define min(a,b) ((a)<(b)?(a):(b))
 
+/* VERSION should come from configure */
+const char *FLAC__VERSION_STRING = VERSION;
+
 #if defined _MSC_VER || defined __MINW32__
 /* yet one more hack because of MSVC6: */
-const FLAC__byte *FLAC__VENDOR_STRING = "reference libFLAC 1.0.4_beta 20020910";
+const char *FLAC__VENDOR_STRING = "reference libFLAC 1.0.4 20020924";
 #else
-const FLAC__byte *FLAC__VENDOR_STRING = "reference libFLAC " FLAC__VERSION_STRING " 20020910";
+const char *FLAC__VENDOR_STRING = "reference libFLAC " VERSION " 20020924";
 #endif
 
 const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
diff --git a/src/plugin_winamp2/in_flac.c b/src/plugin_winamp2/in_flac.c
index 63ce7ee..e6c7d53 100644
--- a/src/plugin_winamp2/in_flac.c
+++ b/src/plugin_winamp2/in_flac.c
@@ -120,7 +120,7 @@
 }
 void about(HWND hwndParent)
 {
-	MessageBox(hwndParent, "Winamp FLAC Plugin v" FLAC__VERSION_STRING ", by Josh Coalson\nSee http://flac.sourceforge.net/", "About FLAC Plugin", MB_OK);
+	MessageBox(hwndParent, "Winamp FLAC Plugin v" VERSION ", by Josh Coalson\nSee http://flac.sourceforge.net/", "About FLAC Plugin", MB_OK);
 }
 
 void init()
@@ -203,6 +203,7 @@
 	paused_ = 0;
 	mod_.outMod->Pause(0);
 }
+
 int ispaused()
 {
 	return paused_;
@@ -357,7 +358,7 @@
 In_Module mod_ =
 {
 	IN_VER,
-	"Reference FLAC Player v" FLAC__VERSION_STRING,
+	"Reference FLAC Player v" VERSION,
 	0,	/* hMainWindow */
 	0,  /* hDllInstance */
 	"FLAC\0FLAC Audio File (*.FLAC)\0"
diff --git a/src/plugin_xmms/plugin.c b/src/plugin_xmms/plugin.c
index c3fc3b1..8d1001d 100644
--- a/src/plugin_xmms/plugin.c
+++ b/src/plugin_xmms/plugin.c
@@ -80,7 +80,7 @@
 {
 	NULL,
 	NULL,
-	"Reference FLAC Player v" FLAC__VERSION_STRING,
+	"Reference FLAC Player v" VERSION,
 	FLAC_XMMS__init,
 	FLAC_XMMS__aboutbox,
 	FLAC_XMMS__configure,