summaryrefslogtreecommitdiff
path: root/vmac.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2015-12-14 15:50:56 -0500
committerJeffrey Walton <noloader@gmail.com>2015-12-14 15:50:56 -0500
commitd9749ce7acb84db24d36f20d3af7e1de3061fa35 (patch)
treebaf4b0fcd8680f5d389f9949a1c43e766fd838c7 /vmac.cpp
parentd9502a6ea93d7d5a5de6a0c8c28d807efeb1559b (diff)
downloadcryptopp-git-d9749ce7acb84db24d36f20d3af7e1de3061fa35.tar.gz
Updated documentation
Diffstat (limited to 'vmac.cpp')
-rw-r--r--vmac.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/vmac.cpp b/vmac.cpp
index 45c3d851..798877e6 100644
--- a/vmac.cpp
+++ b/vmac.cpp
@@ -19,7 +19,12 @@ NAMESPACE_BEGIN(CryptoPP)
#include <intrin.h>
#endif
-#define VMAC_BOOL_WORD128 (defined(CRYPTOPP_WORD128_AVAILABLE) && !defined(CRYPTOPP_X64_ASM_AVAILABLE))
+#if defined(CRYPTOPP_WORD128_AVAILABLE) && !defined(CRYPTOPP_X64_ASM_AVAILABLE)
+# define VMAC_BOOL_WORD128 1
+#else
+# define VMAC_BOOL_WORD128 0
+#endif
+
#ifdef __BORLANDC__
#define const // Turbo C++ 2006 workaround
#endif