Created
January 3, 2012 11:04
-
-
Save pratikshabhisikar/1554480 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // OLD: | |
| /* VERSION should come from configure */ | |
| //FLAC_API const char *FLAC__VERSION_STRING = VERSION; | |
| // Pratiksha: Hack for the platform version. | |
| FLAC_API const char *FLAC__VENDOR_STRING = "reference libFLAC 1.2.1 20070917"; | |
| #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.2.1 20070917"; | |
| #else | |
| // Pratiksha: Causes error -> FLAC_API const char *FLAC__VENDOR_STRING = "reference libFLAC " VERSION " 20070917"; | |
| #endif | |
| //NEW: | |
| #ifndef VERSION | |
| #define VERSION "1.2.1" | |
| #endif | |
| /* 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.2.1 20070917"; | |
| #else | |
| FLAC_API const char *FLAC__VENDOR_STRING = "reference libFLAC " VERSION " 20070917"; | |
| #endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment