ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libecb/ecb.h
(Generate patch)

Comparing libecb/ecb.h (file contents):
Revision 1.9 by root, Thu May 26 17:51:54 2011 UTC vs.
Revision 1.10 by root, Thu May 26 17:57:32 2011 UTC

159ecb_rotl32 (uint32_t x, unsigned int count) 159ecb_rotl32 (uint32_t x, unsigned int count)
160{ 160{
161 return (x >> (32 - count)) | (x << count); 161 return (x >> (32 - count)) | (x << count);
162} 162}
163 163
164#if ECB_GCC_VERSION(4,1) 164#if ECB_GCC_VERSION(4,3)
165# define ecb_bswap32(x) __builtin_bswap32 (x) 165# define ecb_bswap32(x) __builtin_bswap32 (x)
166#else 166#else
167ECB_GCC_VERSION uint32_t 167ECB_GCC_VERSION uint32_t
168ecb_bswap32 (uint32_t x) 168ecb_bswap32 (uint32_t x)
169{ 169{

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines