// RotateDefs.h

#ifndef __ROTATEDEFS_H
#define __ROTATEDEFS_H

#ifdef _MSC_VER

#include <stddef.h>
#define rotlFixed(x, n) _rotl((x), (n))
#define rotrFixed(x, n) _rotr((x), (n))

#else

#define rotlFixed(x, n) (((x) << (n)) | ((x) >> (32 - (n))))
#define rotrFixed(x, n) (((x) >> (n)) | ((x) << (32 - (n))))

#endif

#endif
