diff --git a/tdutils/td/utils/bits.h b/tdutils/td/utils/bits.h index e35010cdb..add4ca4a6 100644 --- a/tdutils/td/utils/bits.h +++ b/tdutils/td/utils/bits.h @@ -12,6 +12,14 @@ #include #endif +#ifdef bswap32 +#undef bswap32 +#endif + +#ifdef bswap64 +#undef bswap64 +#endif + namespace td { inline int32 count_leading_zeroes32(uint32 x);