1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

Remove windows ifdefs

This commit is contained in:
Leonid Fedorov
2023-03-02 15:59:42 +00:00
parent 123c345b40
commit 56f2346083
328 changed files with 9 additions and 19602 deletions

View File

@ -625,30 +625,6 @@ void ByteStream::needAtLeast(size_t amount)
growBuf(fMaxLen + amount);
}
#ifdef _MSC_VER
#if BOOST_VERSION < 104500
ByteStream& ByteStream::operator<<(const uint32_t ui)
{
if (fBuf == 0 || (fCurInPtr - fBuf + 4U > fMaxLen + ISSOverhead))
growBuf(fMaxLen + BlockSize);
uint32_t q = ui;
*((uint32_t*)fCurInPtr) = q;
fCurInPtr += 4;
return *this;
}
ByteStream& ByteStream::operator>>(uint32_t& ui)
{
uint32_t q;
peek(q);
fCurOutPtr += 4;
ui = q;
return *this;
}
#endif
#endif
ByteStream& ByteStream::operator<<(const ByteStream& bs)
{