mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
extend hack of making decoder_ pointer public to gcc < 2.96
This commit is contained in:
@@ -144,8 +144,8 @@ namespace OggFLAC {
|
||||
virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0;
|
||||
virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
//@@@@@@ lame hack: some MSVC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96)))
|
||||
//@@@@@@ lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
public:
|
||||
#endif
|
||||
::OggFLAC__StreamDecoder *decoder_;
|
||||
@@ -240,8 +240,8 @@ namespace OggFLAC {
|
||||
virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0;
|
||||
virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
//@@@@@@ lame hack: some MSVC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96)))
|
||||
//@@@@@@ lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
public:
|
||||
#endif
|
||||
::OggFLAC__SeekableStreamDecoder *decoder_;
|
||||
@@ -334,8 +334,8 @@ namespace OggFLAC {
|
||||
virtual void metadata_callback(const ::FLAC__StreamMetadata *metadata) = 0;
|
||||
virtual void error_callback(::FLAC__StreamDecoderErrorStatus status) = 0;
|
||||
|
||||
#ifdef _MSC_VER
|
||||
//@@@@@@ lame hack: some MSVC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
#if (defined _MSC_VER) || (defined __GNUG__ && (__GNUG__ < 2 || (__GNUG__ == 2 && __GNUC_MINOR__ < 96)))
|
||||
//@@@@@@ lame hack: some MSVC/GCC versions can't see a protected decoder_ from nested State::resolved_as_cstring(); fix properly later
|
||||
public:
|
||||
#endif
|
||||
::OggFLAC__FileDecoder *decoder_;
|
||||
|
||||
Reference in New Issue
Block a user