summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2016-11-20 01:13:22 +0000
committerRui Ueyama <ruiu@google.com>2016-11-20 01:13:22 +0000
commit218072a989ba1fb3f13f77896c8b0b580a041a11 (patch)
treee3c646091c0f36afe76999bc47ab1548e585718c /llvm/lib/Support
parentfe33661ab093e73c838cdbd080cb1bbecf3118da (diff)
downloadbcm5719-llvm-218072a989ba1fb3f13f77896c8b0b580a041a11.tar.gz
bcm5719-llvm-218072a989ba1fb3f13f77896c8b0b580a041a11.zip
Fix buildbot.
llvm-svn: 287474
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r--llvm/lib/Support/SHA1.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/SHA1.cpp b/llvm/lib/Support/SHA1.cpp
index dcd3b02ef5d..0998af7c951 100644
--- a/llvm/lib/Support/SHA1.cpp
+++ b/llvm/lib/Support/SHA1.cpp
@@ -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];
OpenPOWER on IntegriCloud