Fix buildbot.

llvm-svn: 287474
This commit is contained in:
Rui Ueyama 2016-11-20 01:13:22 +00:00
parent fe33661ab0
commit 218072a989
1 changed files with 2 additions and 2 deletions

View File

@ -29,9 +29,9 @@ using namespace llvm;
static uint32_t rol(uint32_t number, int bits) {
return (number << bits) | (number >> (32 - bits));
};
}
#if SHA_BIG_ENDIAN
#ifdef SHA_BIG_ENDIAN
static uint32_t blk0(uint32_t *Buf, int I) {
Buf[I] = (rol(Buf[I], 24) & 0xFF00FF00) | (rol(Buf[I], 8) & 0x00FF00FF);
return Buf[I];