mirror of
https://github.com/reactos/reactos.git
synced 2024-09-02 08:38:28 +00:00
Make rotl what the headers expect
svn path=/trunk/; revision=41873
This commit is contained in:
parent
69b01954bd
commit
6f78cdb634
|
@ -315,7 +315,7 @@ __INTRIN_INLINE void _enable(void)
|
|||
}
|
||||
|
||||
#ifndef __MSVCRT__
|
||||
__INTRIN_INLINE unsigned long _rotl(const unsigned long value, const unsigned char shift)
|
||||
__INTRIN_INLINE unsigned int _rotl(const unsigned int value, int shift)
|
||||
{
|
||||
return (((value) << ((int)(shift))) | ((value) >> (32 - (int)(shift))));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue