string hack for msvc6

This commit is contained in:
Josh Coalson 2002-09-09 05:06:51 +00:00
parent bf9ee8f9c8
commit 0aad38b5e0

View File

@ -28,7 +28,13 @@
#endif
#define min(a,b) ((a)<(b)?(a):(b))
#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 20020823";
#else
const FLAC__byte *FLAC__VENDOR_STRING = "reference libFLAC " FLAC__VERSION_STRING " 20020823";
#endif
const FLAC__byte FLAC__STREAM_SYNC_STRING[4] = { 'f','L','a','C' };
const unsigned FLAC__STREAM_SYNC = 0x664C6143;
const unsigned FLAC__STREAM_SYNC_LEN = 32; /* bits */;