Skip to content

Commit

Permalink
Undef bswap macroses if needed.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 864c725f32d19152bf658853e7648c3f9c62d3a4
  • Loading branch information
levlam committed Apr 30, 2019
1 parent 234cf0d commit 63bf6e5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tdutils/td/utils/bits.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
#include <intrin.h>
#endif

#ifdef bswap32
#undef bswap32
#endif

#ifdef bswap64
#undef bswap64
#endif

namespace td {

inline int32 count_leading_zeroes32(uint32 x);
Expand Down

0 comments on commit 63bf6e5

Please sign in to comment.