mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
fix _byteswap_ushort for old gccs
svn path=/trunk/; revision=44630
This commit is contained in:
parent
8fbe2b1bf2
commit
dd8d39902e
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@
|
||||||
|
|
||||||
__INTRIN_INLINE unsigned short _byteswap_ushort(unsigned short value)
|
__INTRIN_INLINE unsigned short _byteswap_ushort(unsigned short value)
|
||||||
{
|
{
|
||||||
return __builtin_bswap32(value) >> 16;
|
return (value >> 8) || (value & 0xff);
|
||||||
}
|
}
|
||||||
|
|
||||||
__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask)
|
__INTRIN_INLINE unsigned _CountLeadingZeros(long Mask)
|
||||||
|
|
Loading…
Reference in a new issue