From 4d2e628b61e2f73704f29ffbd3e63d83848029a6 Mon Sep 17 00:00:00 2001
From: Henry Weller <http://cfd.direct>
Date: Wed, 17 Aug 2016 23:03:27 +0100
Subject: [PATCH] primitives/hashes/SHA1: undef macros

---
 src/OpenFOAM/primitives/hashes/SHA1/SHA1.C | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/src/OpenFOAM/primitives/hashes/SHA1/SHA1.C b/src/OpenFOAM/primitives/hashes/SHA1/SHA1.C
index 43cb7ec4748..704c7e66372 100644
--- a/src/OpenFOAM/primitives/hashes/SHA1/SHA1.C
+++ b/src/OpenFOAM/primitives/hashes/SHA1/SHA1.C
@@ -412,4 +412,20 @@ Foam::SHA1Digest Foam::SHA1::digest() const
 }
 
 
+// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
+
+#undef K1
+#undef K2
+#undef K3
+#undef K4
+
+#undef F1
+#undef F2
+#undef F3
+#undef F4
+
+#undef rol_uint32
+#undef M
+#undef R
+
 // ************************************************************************* //
-- 
GitLab