summaryrefslogtreecommitdiff
path: root/kernel/rtlil.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-10-17 14:01:47 +0200
committerClifford Wolf <clifford@clifford.at>2014-10-17 14:01:47 +0200
commit468ae923748a01b2763bafa3cf5fba883fe06479 (patch)
treef80cf488e9a2f07592c2444b853d0c53edce7a20 /kernel/rtlil.cc
parent973d37673377c3ddba8020e718e4cd6174379175 (diff)
Various win32 / vs build fixes
Diffstat (limited to 'kernel/rtlil.cc')
-rw-r--r--kernel/rtlil.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc
index 5a94008d..36443c5a 100644
--- a/kernel/rtlil.cc
+++ b/kernel/rtlil.cc
@@ -2204,7 +2204,7 @@ void RTLIL::SigSpec::unpack() const
that->hash_ = 0;
}
-#define DJB2(_hash, _value) do { (_hash) = (((_hash) << 5) + (_hash)) + (_value); } while (0)
+#define DJB2(_hash, _value) (_hash) = (((_hash) << 5) + (_hash)) + (_value)
void RTLIL::SigSpec::hash() const
{