Commit 47be7a66 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Undefine bswap16, bswap32, and bswap64 to avoid name clash on OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 4dc26ab7
...@@ -630,6 +630,12 @@ static inline unsigned popcount (unsigned x) ...@@ -630,6 +630,12 @@ static inline unsigned popcount (unsigned x)
#endif #endif
} }
#ifdef __OS2__
# undef bswap16
# undef bswap32
# undef bswap64
#endif
/** Byte swap (16 bits) */ /** Byte swap (16 bits) */
VLC_USED VLC_USED
static inline uint16_t bswap16 (uint16_t x) static inline uint16_t bswap16 (uint16_t x)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment