Fix condition for code specific to `libstdc++`

This commit is contained in:
Martchus 2024-06-16 01:18:26 +02:00
parent 8c27ac0996
commit 37bab4f353
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ bool VorbisCommentField::make(BinaryWriter &writer, VorbisCommentFlags flags, Di
bufferStream.rdbuf()->pubsetbuf(buffer.get(), requiredSize);
#endif
pictureBlock.make(bufferStream);
#if defined(__GLIBCXX__) && !defined(_LIBCPP_VERSION)
#if !(defined(__GLIBCXX__) && !defined(_LIBCPP_VERSION))
bufferStream.read(buffer.get(), static_cast<std::streamsize>(requiredSize));
#endif
valueString = encodeBase64(reinterpret_cast<std::uint8_t *>(buffer.get()), requiredSize);