summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
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