[prev in list] [next in list] [prev in thread] [next in thread] 

List:       flac-dev
Subject:    [flac-dev] PATCH for FLAC__VENDOR_STRING definition
From:       lvqcl <lvqcl.mail () gmail ! com>
Date:       2014-03-09 21:08:55
Message-ID: op.xcg3o5skcba0by () userhome-pc
[Download RAW message or body]

Since FLAC project don't support MSVC6 there's no need in hacks.
["format.patch" (format.patch)]

diff --git a/src/libFLAC/format.c b/src/libFLAC/format.c
index 72adefa..c6be3aa 100644
--- a/src/libFLAC/format.c
+++ b/src/libFLAC/format.c
@@ -46,12 +46,7 @@
 /* VERSION should come from configure */
 FLAC_API const char *FLAC__VERSION_STRING = VERSION;
 
-#if defined _MSC_VER || defined __BORLANDC__ || defined __MINW32__
-/* yet one more hack because of MSVC6: */
-FLAC_API const char *FLAC__VENDOR_STRING = "reference libFLAC 1.3.0 20130526";
-#else
 FLAC_API const char *FLAC__VENDOR_STRING = "reference libFLAC " VERSION " 20130526";
-#endif
 
 FLAC_API const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
 FLAC_API const unsigned FLAC__STREAM_SYNC = 0x664C6143;


_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic